Commit 7d00d8d9 authored by Łukasz Nowak's avatar Łukasz Nowak Committed by Rafael Monnerat

Store activities in TRADITIONAL mode.

It will protect against storing truncated data.
parent f61f6c93
......@@ -19,6 +19,7 @@ group_method_id_list
tag_list
serialization_tag_list
order_validation_text_list</params>
SET SESSION sql_mode='TRADITIONAL'; <dtml-var sql_delimiter>
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)
VALUES
......
......@@ -19,6 +19,7 @@ group_method_id_list
tag_list
serialization_tag_list
</params>
SET SESSION sql_mode='TRADITIONAL'; <dtml-var sql_delimiter>
INSERT INTO message_queue
(uid, path, active_process_uid, date, method_id, processing_node, processing, priority, group_method_id, tag, serialization_tag, message)
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