- Timestamp:
- Sep 27, 2009, 11:34:07 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/20090715/ippTools/share/disttool_definebyquery_stack.sql
r24725 r25624 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, … … 8 9 distTarget.clean 9 10 FROM stackRun 11 JOIN stackSumSkyfile USING(stack_id) 10 12 JOIN distTarget ON distTarget.stage = 'stack' 11 13 AND stackRun.label = distTarget.label … … 19 21 AND distRun.dist_id IS NULL 20 22 AND ((stackRun.state = 'full') OR (distTarget.clean AND stackRun.state = 'cleaned')) 23 -- we shouldn't need to check fault. If faulted it shouldn't be full 24 AND (stackSumSkyfile.fault = 0 AND stackSumSkyfile.quality = 0)
Note:
See TracChangeset
for help on using the changeset viewer.
