Changeset 28022 for trunk/ippTools/share/difftool_setskyfiletoupdate.sql
- Timestamp:
- May 19, 2010, 11:32:49 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/share/difftool_setskyfiletoupdate.sql
r27794 r28022 1 1 UPDATE diffRun 2 2 JOIN diffSkyfile USING(diff_id) 3 LEFT JOIN magicDSRun ON (stage_id = diff_id AND stage = 'diff') 4 LEFT JOIN magicDSFile ON (magicDSRun.magic_ds_id = magicDSFile.magic_ds_id 5 AND component = skycell_id) 3 6 SET diffRun.state = 'update', 4 7 diffSkyfile.data_state = 'update' … … 7 10 AND (diffRun.state = 'cleaned' OR diffRun.state = 'update') 8 11 AND (diffSkyfile.data_state = 'cleaned') 12 -- don't queue update if the associated magicDSFile still exists 13 AND (diffRun.magicked = 0 14 OR (magicDSRun.state = 'cleaned' OR magicDSRun.state = 'new') 15 AND magicDSFile.component IS NULL)
Note:
See TracChangeset
for help on using the changeset viewer.
