Changeset 28339 for trunk/ippTools/share/camtool_pendingexp.sql
- Timestamp:
- Jun 15, 2010, 1:57:07 PM (16 years ago)
- File:
-
- 1 moved
-
trunk/ippTools/share/camtool_pendingexp.sql (moved) (moved from trunk/ippTools/share/camtool_find_pendingexp.sql ) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/share/camtool_pendingexp.sql
r28306 r28339 1 -- this query is used by both camtool -pendingexp & camtool -addprocessedexp it2 -- does a little more work then is necessary for -addprocessed but it seems3 -- "cleaner" to use the same query for both cases4 1 SELECT 5 2 camRun.*, … … 11 8 rawExp.filelevel, 12 9 chipRun.magicked AS chip_magicked, 13 camProcessedExp.path_base 10 camProcessedExp.path_base, 11 IFNULL(Label.priority, 10000) AS priority 14 12 FROM camRun 15 13 JOIN chipRun … … 21 19 LEFT JOIN camMask 22 20 ON camRun.label = camMask.label 21 LEFT JOIN Label 22 ON camRun.label = Label.label 23 23 WHERE 24 24 chipRun.state = 'full' 25 25 AND ((camRun.state = 'new' AND camProcessedExp.cam_id IS NULL) OR camRun.state = 'update') 26 26 AND camMask.label IS NULL 27 AND (Label.active OR Label.active IS NULL)
Note:
See TracChangeset
for help on using the changeset viewer.
