Commit 0e84bcb2 authored by Jean-Paul Smets's avatar Jean-Paul Smets

new tentative to postpone locked invokes and errors


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@360 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent f73c4682
...@@ -9,10 +9,12 @@ class_file: ...@@ -9,10 +9,12 @@ class_file:
</dtml-comment> </dtml-comment>
<params>path <params>path
method_id method_id
processing_node</params> processing_node
processing</params>
DELETE FROM DELETE FROM
message message
WHERE WHERE
path = <dtml-sqlvar path type="string"> path = <dtml-sqlvar path type="string">
<dtml-if method_id>AND method_id = <dtml-sqlvar method_id type="string"></dtml-if> <dtml-if method_id> AND method_id = <dtml-sqlvar method_id type="string"></dtml-if>
<dtml-if processing_node>AND processing_node = <dtml-sqlvar processing_node type="int"></dtml-if> <dtml-if processing_node> AND processing_node = <dtml-sqlvar processing_node type="int"></dtml-if>
<dtml-if processing> AND processing = 1</dtml-if>
<dtml-comment>
title:
connection_id:erp5_sql_connection
max_rows:1000
max_cache:100
cache_time:0
class_name:
class_file:
</dtml-comment>
<params>path
method_id
priority
processing_node</params>
UPDATE
message
SET
priority = <dtml-sqlvar priority type="int">
WHERE
path = <dtml-sqlvar path type="string">
AND method_id = <dtml-sqlvar method_id type="string">
AND processing_node = <dtml-sqlvar processing_node type="int">
\ No newline at end of file
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