Changeset 28733
- Timestamp:
- Jul 28, 2010, 1:16:42 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/ippTools/share/disttool_toadvance.sql (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/share/disttool_toadvance.sql
r27012 r28733 74 74 HAVING 75 75 COUNT(chipProcessedImfile.class_id) = COUNT(distComponent.component) 76 AND SUM(distComponent.fault) = 0 77 UNION 78 -- chip_bg stage 79 SELECT 80 distRun.dist_id, 81 stage, 82 stage_id, 83 outroot, 84 label, 85 clean 86 FROM distRun 87 JOIN chipBackgroundImfile ON stage_id = chipBackgroundImfile.chip_bg_id 88 LEFT JOIN distComponent 89 ON distComponent.dist_id = distRun.dist_id 90 AND distComponent.component = chipBackgroundImfile.class_id 91 WHERE 92 distRun.state = 'new' 93 AND distRun.fault = 0 94 AND distRun.stage = 'chip_bg' 95 GROUP BY 96 dist_id, 97 chipBackgroundImfile.chip_bg_id 98 HAVING 99 COUNT(chipBackgroundImfile.class_id) = COUNT(distComponent.component) 76 100 AND SUM(distComponent.fault) = 0 77 101 UNION … … 145 169 AND SUM(distComponent.fault) = 0 146 170 UNION 171 -- warp_bg stage 172 SELECT 173 distRun.dist_id, 174 stage, 175 stage_id, 176 outroot, 177 label, 178 clean 179 FROM distRun 180 JOIN warpBackgroundSkyfile on stage_id = warp_bg_id 181 LEFT JOIN distComponent 182 ON distRun.dist_id = distComponent.dist_id 183 AND distComponent.component = warpBackgroundSkyfile.skycell_id 184 WHERE 185 distRun.state = 'new' 186 AND distRun.fault = 0 187 AND distRun.stage = 'warp_bg' 188 -- AND warpSkyfile.fault = 0 189 -- AND warpSkyfile.quality = 0 190 GROUP BY 191 distRun.dist_id, 192 warp_bg_id 193 HAVING 194 COUNT(warpBackgroundSkyfile.skycell_id) = COUNT(distComponent.component) 195 AND SUM(distComponent.fault) = 0 196 UNION 147 197 -- diff stage 148 198 SELECT
Note:
See TracChangeset
for help on using the changeset viewer.
