Changeset 30387 for trunk/ippTools/share/disttool_pending_camera.sql
- Timestamp:
- Jan 27, 2011, 9:42:21 AM (15 years ago)
- File:
-
- 1 edited
-
trunk/ippTools/share/disttool_pending_camera.sql (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/share/disttool_pending_camera.sql
r30272 r30387 15 15 camProcessedExp.quality, 16 16 distRun.no_magic, 17 chipRun.magicked 17 chipRun.magicked, 18 IFNULL(Label.priority, 10000) AS priority 18 19 FROM distRun 19 20 JOIN distTarget USING(target_id, stage, clean) … … 21 22 JOIN camProcessedExp USING(cam_id) 22 23 JOIN chipRun USING(chip_id) 23 -- JOIN chipProcessedImfile USING(exp_id, chip_id)24 24 JOIN rawExp using(exp_id) 25 25 LEFT JOIN distComponent 26 26 ON distRun.dist_id = distComponent.dist_id 27 -- AND chipProcessedImfile.class_id = distComponent.component 27 LEFT JOIN Label 28 ON distRun.label = Label.label 28 29 WHERE 29 30 distRun.state = 'new' … … 32 33 AND (((clean OR (chipRun.magicked != 0)) AND (camRun.magicked > 0)) OR distRun.no_magic) 33 34 AND (camRun.state = 'full' OR (distRun.clean AND camRun.state = 'cleaned')) 35 AND (Label.active OR Label.active IS NULL)
Note:
See TracChangeset
for help on using the changeset viewer.
