Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Roque
erp5
Commits
19d1c444
Commit
19d1c444
authored
Aug 14, 2012
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Store activities in TRADITIONAL mode.
It will protect against storing truncated data.
parent
ccda6378
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
product/CMFActivity/skins/activity/SQLDict_writeMessageList.zsql
.../CMFActivity/skins/activity/SQLDict_writeMessageList.zsql
+1
-0
product/CMFActivity/skins/activity/SQLQueue_writeMessageList.zsql
...CMFActivity/skins/activity/SQLQueue_writeMessageList.zsql
+1
-0
No files found.
product/CMFActivity/skins/activity/SQLDict_writeMessageList.zsql
View file @
19d1c444
...
@@ -19,6 +19,7 @@ group_method_id_list
...
@@ -19,6 +19,7 @@ group_method_id_list
tag_list
tag_list
serialization_tag_list
serialization_tag_list
order_validation_text_list</params>
order_validation_text_list</params>
SET SESSION sql_mode='TRADITIONAL'; <dtml-var sql_delimiter>
INSERT INTO message
INSERT INTO message
(uid, path, active_process_uid, date, method_id, processing_node, processing, priority, group_method_id, tag, serialization_tag, order_validation_text, message)
(uid, path, active_process_uid, date, method_id, processing_node, processing, priority, group_method_id, tag, serialization_tag, order_validation_text, message)
VALUES
VALUES
...
...
product/CMFActivity/skins/activity/SQLQueue_writeMessageList.zsql
View file @
19d1c444
...
@@ -19,6 +19,7 @@ group_method_id_list
...
@@ -19,6 +19,7 @@ group_method_id_list
tag_list
tag_list
serialization_tag_list
serialization_tag_list
</params>
</params>
SET SESSION sql_mode='TRADITIONAL'; <dtml-var sql_delimiter>
INSERT INTO message_queue
INSERT INTO message_queue
(uid, path, active_process_uid, date, method_id, processing_node, processing, priority, group_method_id, tag, serialization_tag, message)
(uid, path, active_process_uid, date, method_id, processing_node, processing, priority, group_method_id, tag, serialization_tag, message)
VALUES
VALUES
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment