Skip to content

Commit

Permalink
correlate subquery in purge
Browse files Browse the repository at this point in the history
  • Loading branch information
erilong committed Nov 16, 2007
1 parent 3e4bf6b commit 3bcf78e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions symmetric/src/main/resources/symmetric-services.xml
Expand Up @@ -603,8 +603,8 @@
</property>
<property name="selectDataIdToPurgeSql">
<value>
select data_id from ${sync.table.prefix}_data where not exists (select data_id from
${sync.table.prefix}_data_event)
select data_id from ${sync.table.prefix}_data d where not exists (select 1 from
${sync.table.prefix}_data_event de where d.data_id = de.data_id)
</value>
</property>
<property name="deleteDataSql">
Expand Down

0 comments on commit 3bcf78e

Please sign in to comment.