Changeset 28022
- Timestamp:
- May 19, 2010, 11:32:49 AM (16 years ago)
- Location:
- trunk/ippTools/share
- Files:
-
- 3 edited
-
chiptool_setimfiletoupdate.sql (modified) (2 diffs)
-
difftool_setskyfiletoupdate.sql (modified) (2 diffs)
-
warptool_setskyfiletoupdate.sql (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/share/chiptool_setimfiletoupdate.sql
r27391 r28022 1 1 UPDATE chipRun 2 2 JOIN chipProcessedImfile USING(chip_id) 3 LEFT JOIN magicDSRun ON (stage_id = chip_id AND stage = 'chip') 4 LEFT JOIN magicDSFile ON (magicDSRun.magic_ds_id = magicDSFile.magic_ds_id 5 AND component = class_id) 3 6 SET chipRun.state = 'update', 4 7 chipProcessedImfile.data_state = 'update' … … 7 10 AND (chipRun.state = 'cleaned' OR chipRun.state = 'update') 8 11 AND (chipProcessedImfile.data_state = 'cleaned') 12 -- don't queue update if the associated magicDSFile exists 13 AND (chipRun.magicked = 0 14 OR (magicDSRun.state = 'cleaned' OR magicDSRun.state = 'new') 15 AND magicDSFile.component IS NULL) -
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) -
trunk/ippTools/share/warptool_setskyfiletoupdate.sql
r27737 r28022 1 1 UPDATE warpRun 2 2 JOIN warpSkyfile USING(warp_id) 3 LEFT JOIN magicDSRun ON (stage_id = warp_id AND stage = 'warp') 4 LEFT JOIN magicDSFile ON (magicDSRun.magic_ds_id = magicDSFile.magic_ds_id 5 AND component = skycell_id) 3 6 SET warpRun.state = 'update', 4 7 warpSkyfile.data_state = 'update' … … 7 10 AND (warpRun.state = 'cleaned' OR warpRun.state = 'update') 8 11 AND (warpSkyfile.data_state = 'cleaned') 12 AND (warpRun.magicked = 0 13 OR (magicDSRun.state = 'cleaned' OR magicDSRun.state = 'new') 14 AND magicDSFile.component IS NULL)
Note:
See TracChangeset
for help on using the changeset viewer.
