Commit 132ea3b5 authored by Vincent Pelletier's avatar Vincent Pelletier

Explicitely lock tables before doing message reservation queries, to avoid deadlocks.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19538 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 41672538
......@@ -12,6 +12,8 @@ to_date
limit
group_method_id
order_validation_text</params>
LOCK TABLE message WRITE
<dtml-var sql_delimiter>
UPDATE
message
SET
......
......@@ -11,6 +11,8 @@ class_file:
to_date
limit
</params>
LOCK TABLE message_queue WRITE
<dtml-var sql_delimiter>
UPDATE
message_queue
SET
......
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