Skip to content

Commit

Permalink
qualify sql in deleteDataSql. some databases don't like qualified tab…
Browse files Browse the repository at this point in the history
…le names in delete sql.
  • Loading branch information
chenson42 committed Sep 28, 2009
1 parent 33beb08 commit a20f0d5
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -35,8 +35,8 @@
</entry>
<entry key="deleteDataSql">
<value>
delete from $[sym.sync.table.prefix]_data d where
d.data_id between :MIN and :MAX and d.data_id not in
delete from $[sym.sync.table.prefix]_data where
data_id between :MIN and :MAX and data_id not in
(select e.data_id from $[sym.sync.table.prefix]_data_event e where e.data_id between :MIN and :MAX and e.batch_id in
(select o.batch_id from $[sym.sync.table.prefix]_outgoing_batch o where o.status != 'OK' and o.create_time &lt; :TIME))
</value>
Expand Down

0 comments on commit a20f0d5

Please sign in to comment.