Commit 37659311 authored by Vincent Pelletier's avatar Vincent Pelletier

Use DATE_SUB.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@25263 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 5598f6ee
...@@ -12,8 +12,8 @@ processing_node</params> ...@@ -12,8 +12,8 @@ processing_node</params>
UPDATE UPDATE
message_queue message_queue
SET SET
date = date - <dtml-sqlvar delay type="int">, date = DATE_SUB(date, INTERVAL <dtml-sqlvar delay type="int"> SECOND),
processing_date = processing_date - <dtml-sqlvar delay type="int"> processing_date = DATE_SUB(processing_date, INTERVAL <dtml-sqlvar delay type="int"> SECOND)
WHERE WHERE
1 = 1 1 = 1
<dtml-if expr="processing_node is not None"> <dtml-if expr="processing_node is not None">
......
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