Changeset 23661 for trunk/ippTools/share/disttool_pendingcomponent.sql
- Timestamp:
- Apr 1, 2009, 3:22:25 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/share/disttool_pendingcomponent.sql
r23566 r23661 16 16 FROM distRun 17 17 JOIN rawExp ON exp_id = stage_id 18 JOIN ( -- find the last magicked chip run 18 JOIN ( -- find the last satisfactory chip run 19 -- note this requires that a chip run have been completed even when 20 -- magic is not required for the run 19 21 SELECT 20 22 exp_id, 21 23 MAX(chip_id) AS chip_id 22 24 FROM chipRun 25 JOIN distRun ON stage_id = exp_id AND stage = 'raw' 23 26 WHERE 24 27 chipRun.state = 'full' 25 28 AND chipRun.exp_id = exp_id 26 -- AND chipRun.magicked 27 -- magicked hook 1 %s 29 AND (chipRun.magicked OR distRun.no_magic) 28 30 GROUP BY exp_id 29 31 ) AS bestChipRun … … 39 41 AND distRun.stage = 'raw' 40 42 AND distComponent.dist_id IS NULL 41 -- if magicked add AND rawImfile.magicked here43 AND (rawExp.magicked OR distRun.no_magic) 42 44 -- where hook 1 %s 43 45 … … 69 71 AND distRun.stage = 'chip' 70 72 AND distComponent.dist_id IS NULL 73 AND (distRun.clean OR chipRun.magicked OR distRun.no_magic) 71 74 -- where hook 2 %s 72 75 UNION … … 98 101 AND distRun.stage = 'camera' 99 102 AND distComponent.dist_id IS NULL 103 AND (distRun.clean OR chipRun.magicked OR distRun.no_magic) 100 104 -- where hook 3 %s 101 105 UNION … … 157 161 AND distRun.stage = 'warp' 158 162 AND distComponent.dist_id IS NULL 163 AND (distRun.clean OR warpRun.magicked OR distRun.no_magic) 159 164 -- where hook 5 %s 160 165 UNION … … 186 191 AND distRun.stage = 'diff' 187 192 AND distComponent.dist_id IS NULL 193 AND (distRun.clean OR diffRun.magicked OR distRun.no_magic) 188 194 -- where hook 6 %s 189 195 UNION
Note:
See TracChangeset
for help on using the changeset viewer.
