Commit 19d1c444 authored by Łukasz Nowak's avatar Łukasz Nowak

Store activities in TRADITIONAL mode.

It will protect against storing truncated data.
parent ccda6378
...@@ -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
......
...@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment