Changeset 23777 for trunk/ippTools/share/disttool_toadvance.sql
- Timestamp:
- Apr 9, 2009, 1:56:50 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/ippTools/share/disttool_toadvance.sql (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/share/disttool_toadvance.sql
r23742 r23777 3 3 stage, 4 4 stage_id, 5 outroot,5 CONCAT_WS('.', outroot, CONVERT(dist_id, CHAR)) as outdir, 6 6 label, 7 7 clean 8 8 FROM 9 9 ( 10 -- raw stage 10 -- raw stage not clean 11 11 SELECT 12 12 distRun.dist_id, … … 23 23 WHERE 24 24 distRun.state = 'new' 25 AND distRun.clean = 0 25 26 AND distRun.fault = 0 26 27 AND distRun.stage = 'raw' … … 31 32 COUNT(rawImfile.class_id) = COUNT(distComponent.component) 32 33 AND SUM(distComponent.fault) = 0 34 UNION 35 -- clean distribution of raw files (dbinfo only) only 1 component 36 SELECT 37 distRun.dist_id, 38 stage, 39 stage_id, 40 outroot, 41 label, 42 clean 43 FROM distRun 44 LEFT JOIN distComponent 45 ON distRun.dist_id = distComponent.dist_id 46 WHERE 47 distRun.state = 'new' 48 AND distRun.clean 49 AND distRun.fault = 0 50 AND distRun.stage = 'raw' 51 AND distComponent.component IS NOT NULL 52 AND distComponent.fault = 0 33 53 UNION 34 54 -- chip stage
Note:
See TracChangeset
for help on using the changeset viewer.
