- Timestamp:
- May 18, 2010, 5:06:01 PM (16 years ago)
- Location:
- branches/czw_branch/20100427
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
ippTools/share/pstamptool_pendingdependent.sql (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/czw_branch/20100427
- Property svn:mergeinfo changed
-
branches/czw_branch/20100427/ippTools/share/pstamptool_pendingdependent.sql
r27740 r28017 1 SELECT DISTINCT pstampDependent.* 1 SELECT DISTINCT 2 pstampDependent.*, 3 IFNULL(Label.priority, 10000) AS priority 2 4 FROM pstampDependent 3 5 JOIN pstampJob USING(dep_id) 4 6 JOIN pstampRequest USING(req_id) 7 LEFT JOIN Label ON pstampRequest.label = Label.label 5 8 WHERE pstampDependent.state = 'new' 9 AND pstampDependent.fault = 0 6 10 AND pstampJob.state = 'run' 11 AND (pstampRequest.state = 'run' OR pstampRequest.state = 'new') 12 AND (Label.active OR Label.active IS NULL)
Note:
See TracChangeset
for help on using the changeset viewer.
