Skip to content

Commit

Permalink
Only set the status of batches that are not already OK.
Browse files Browse the repository at this point in the history
  • Loading branch information
chenson42 committed Feb 26, 2010
1 parent 5f96ff2 commit 3a86940
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -42,7 +42,7 @@
<entry key="updateStrandedBatches">
<value>
update $[sym.sync.table.prefix]_outgoing_batch set status='OK' where node_id not
in (select node_id from sym_node where sync_enabled=1)
in (select node_id from sym_node where sync_enabled=1) and status != 'OK'
</value>
</entry>
<entry key="deleteStrandedData">
Expand Down

0 comments on commit 3a86940

Please sign in to comment.