Changeset 27840 for branches/simtest_nebulous_branches/ippTools/share/disttool_definebyquery_stack.sql
- Timestamp:
- May 3, 2010, 8:50:52 AM (16 years ago)
- Location:
- branches/simtest_nebulous_branches
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
ippTools/share/disttool_definebyquery_stack.sql (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/simtest_nebulous_branches
- Property svn:mergeinfo changed
-
branches/simtest_nebulous_branches/ippTools/share/disttool_definebyquery_stack.sql
r24725 r27840 2 2 'stack' as stage, 3 3 stackRun.stack_id AS stage_id, 4 CAST(0 AS SIGNED) AS magicked, 4 5 -- run tag in the form 'stack.$skycell_id.$stack_id' 5 6 CONCAT_WS('.', 'stack', stackRun.skycell_id, convert(stackRun.stack_id, CHAR)) as run_tag, 6 distTarget.label, 7 stackRun.label, 8 stackRun.data_group, 9 distTarget.dist_group, 7 10 distTarget.target_id, 8 11 distTarget.clean 9 12 FROM stackRun 13 JOIN stackSumSkyfile USING(stack_id) 10 14 JOIN distTarget ON distTarget.stage = 'stack' 11 AND stackRun. label = distTarget.label15 AND stackRun.dist_group = distTarget.dist_group 12 16 AND stackRun.filter = distTarget.filter 13 17 JOIN rcInterest USING(target_id) 14 LEFT JOIN distRun ON distRun.stage = 'stack' AND(distRun.stage_id = stack_id)15 AND distRun. clean = distTarget.clean18 LEFT JOIN distRun ON (distRun.stage_id = stack_id) 19 AND distRun.target_id = distTarget.target_id 16 20 -- JOIN hook %s 17 21 WHERE distTarget.state = 'enabled' … … 19 23 AND distRun.dist_id IS NULL 20 24 AND ((stackRun.state = 'full') OR (distTarget.clean AND stackRun.state = 'cleaned')) 25 -- we shouldn't need to check fault. If faulted it shouldn't be full 26 AND (stackSumSkyfile.fault = 0 AND stackSumSkyfile.quality = 0)
Note:
See TracChangeset
for help on using the changeset viewer.
