- Timestamp:
- Aug 7, 2009, 4:08:25 PM (17 years ago)
- Location:
- branches/pap
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
ippTools/share/magictool_toprocess_tree.sql (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/pap
- Property svn:mergeinfo changed
-
branches/pap/ippTools/share/magictool_toprocess_tree.sql
r23389 r25027 1 1 SELECT 2 2 magicTree.*, 3 exp_id,4 camera,5 3 magicRun.workdir, 4 rawExp.exp_id, 5 rawExp.camera, 6 6 -- convert magic_id into a boolean value (1 or 0) 7 7 -- note that the type stays a 64 bit int 8 magicNodeResult.magic_id IS TRUE asdone,9 magicNodeResult.fault IS TRUE asbad8 magicNodeResult.magic_id IS TRUE AS done, 9 magicNodeResult.fault IS TRUE AS bad 10 10 FROM magicTree 11 11 JOIN magicRun USING(magic_id) 12 12 JOIN rawExp USING(exp_id) 13 LEFT JOIN magicNodeResult 14 ON magicTree.magic_id = magicNodeResult.magic_id 15 AND magicTree.node = magicNodeResult.node 13 LEFT JOIN magicNodeResult USING(magic_id, node) 16 14 WHERE 17 15 magicRun.state = 'new' 18 -- wherehook %s16 -- WHERE hook %s 19 17 ORDER BY 20 18 magicRun.magic_id
Note:
See TracChangeset
for help on using the changeset viewer.
