Changeset 30587 for branches/czw_branch/20101203/ippTools/share
- Timestamp:
- Feb 11, 2011, 4:42:29 PM (15 years ago)
- Location:
- branches/czw_branch/20101203
- Files:
-
- 9 edited
-
. (modified) (1 prop)
-
ippTools/share/chiptool_processedimfile.sql (modified) (2 diffs)
-
ippTools/share/difftool_pendingcleanupskyfile.sql (modified) (1 diff)
-
ippTools/share/difftool_setskyfiletoupdate.sql (modified) (1 diff)
-
ippTools/share/magicdstool_setfiletoupdate.sql (modified) (1 diff)
-
ippTools/share/warptool_change_skyfile_data_state.sql (modified) (1 diff)
-
ippTools/share/warptool_scmap.sql (modified) (1 diff)
-
ippTools/share/warptool_setskyfiletoupdate.sql (modified) (1 diff)
-
ippTools/share/warptool_towarped.sql (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/czw_branch/20101203
-
branches/czw_branch/20101203/ippTools/share/chiptool_processedimfile.sql
r29199 r30587 29 29 rawImfile.magicked AS raw_magicked, 30 30 rawImfile.burntool_state, 31 magicDSRun.state AS dsRun_state, 32 IFNULL(magicDSRun.magic_ds_id, 0) AS magic_ds_id 31 IFNULL(magicDSRun.magic_ds_id, 0) AS magic_ds_id, 32 IFNULL(magicDSRun.state,0) AS dsRun_state, 33 IFNULL(magicDSFile.fault,0) AS dsFile_fault, 34 IFNULL(magicDSFile.data_state,0) AS dsFile_data_state 33 35 FROM chipRun 34 36 JOIN chipImfile … … 43 45 LEFT JOIN magicDSRun 44 46 ON stage_id = chip_id AND stage = 'chip' AND magicDSRun.re_place AND magicDSRun.state != 'drop' 47 LEFT JOIN magicDSFile ON magicDSRun.magic_ds_id = magicDSFile.magic_ds_id AND chipProcessedImfile.class_id = magicDSFile.component -
branches/czw_branch/20101203/ippTools/share/difftool_pendingcleanupskyfile.sql
r24186 r30587 9 9 USING(diff_id) 10 10 WHERE 11 ((diffRun.state = 'goto_cleaned' AND diffSkyfile.data_state = 'full')11 ((diffRun.state = 'goto_cleaned' AND (diffSkyfile.data_state = 'full' OR diffSkyfile.data_state = 'update')) 12 12 OR 13 13 (diffRun.state = 'goto_scrubbed' AND diffSkyfile.data_state != 'scrubbed') -
branches/czw_branch/20101203/ippTools/share/difftool_setskyfiletoupdate.sql
r29568 r30587 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_id5 AND component = skycell_id)6 3 SET diffRun.state = 'update', 7 diffSkyfile.data_state = 'update' 4 diffSkyfile.data_state = 'update', 5 diffSkyfile.fault = 0 8 6 -- set hook %s 9 7 WHERE diff_id = %lld 10 8 AND (diffRun.state = 'cleaned' OR diffRun.state = 'update') 11 AND (diffSkyfile.data_state = 'cleaned' )9 AND (diffSkyfile.data_state = 'cleaned' OR diffSkyfile.data_state = 'update') -
branches/czw_branch/20101203/ippTools/share/magicdstool_setfiletoupdate.sql
r29561 r30587 7 7 WHERE magic_ds_id = %lld 8 8 AND (magicDSRun.state = 'cleaned' OR magicDSRun.state = 'update') 9 AND (magicDSFile.data_state = 'cleaned' )9 AND (magicDSFile.data_state = 'cleaned' OR magicDSFile.data_state ='update') -
branches/czw_branch/20101203/ippTools/share/warptool_change_skyfile_data_state.sql
r26567 r30587 1 1 -- handle changes in warpSkyfile.data_state. 2 2 -- Used for the modes tofullskyfile, tocleanedskyfile and topurgedskyfile 3 -- arg s are new data_state, string for magic hook, warp_id, skycell_id and current expected state for warpRun3 -- arguments are are new data_state, string for magic hook, warp_id, skycell_id 4 4 UPDATE warpSkyfile 5 5 JOIN warpRun USING(warp_id) -
branches/czw_branch/20101203/ippTools/share/warptool_scmap.sql
r29349 r30587 12 12 IFNULL(magicDSRun.magic_ds_id, 0) AS magic_ds_id, 13 13 IFNULL(magicDSRun.state, 0) AS dsRun_state, 14 IFNULL(magicDSFile.data_state, 0) AS dsFile_data_state, 14 15 IFNULL(magicDSFile.fault, 0) as dsFile_fault 15 16 FROM warpRun -
branches/czw_branch/20101203/ippTools/share/warptool_setskyfiletoupdate.sql
r29568 r30587 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_id5 AND component = skycell_id)6 3 SET warpRun.state = 'update', 7 warpSkyfile.data_state = 'update' 4 warpSkyfile.data_state = 'update', 5 warpSkyfile.fault = 0 8 6 -- set hook %s 9 7 WHERE warp_id = %lld 10 8 AND (warpRun.state = 'cleaned' OR warpRun.state = 'update') 11 AND (warpSkyfile.data_state = 'cleaned' )9 AND (warpSkyfile.data_state = 'cleaned' OR warpSkyfile.data_state = 'update') -
branches/czw_branch/20101203/ippTools/share/warptool_towarped.sql
r29171 r30587 11 11 exp_tag, 12 12 workdir, 13 label, 13 14 magicked, 14 15 path_base, … … 23 24 warpRun.state, 24 25 warpRun.reduction, 26 warpRun.label, 25 27 camRun.cam_id, 26 28 rawExp.camera, … … 76 78 warpRun.state, 77 79 warpRun.reduction, 80 warpRun.label, 78 81 camRun.cam_id, 79 82 rawExp.camera,
Note:
See TracChangeset
for help on using the changeset viewer.
