Changeset 29417 for trunk/ippTools/share/stacktool_tosum.sql
- Timestamp:
- Oct 14, 2010, 2:24:09 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/ippTools/share/stacktool_tosum.sql (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/share/stacktool_tosum.sql
r27929 r29417 7 7 stackRun.label, 8 8 stackRun.state, 9 stackSumSkyfile.path_base 9 stackSumSkyfile.path_base, 10 IFNULL(Label.priority, 10000) AS priority 10 11 FROM stackRun 11 12 JOIN stackInputSkyfile USING(stack_id) 12 13 JOIN warpRun USING(warp_id) 13 14 LEFT JOIN stackSumSkyfile USING(stack_id) 15 LEFT JOIN Label ON Label.label = stackRun.label 14 16 WHERE 15 17 ((stackRun.state = 'new' AND stackSumSkyfile.stack_id IS NULL) 16 18 OR (stackRun.state = 'update' AND stackSumSkyfile.fault = 0 AND stackSumSkyfile.quality = 0)) 19 AND (Label.active OR Label.active IS NULL) 17 20 -- WHERE hook %s 18 21 GROUP BY stack_id
Note:
See TracChangeset
for help on using the changeset viewer.
