Changeset 29358 for trunk/ippTools/share/magicdstool_todestreak_diff.sql
- Timestamp:
- Oct 8, 2010, 11:15:35 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/share/magicdstool_todestreak_diff.sql
r27945 r29358 20 20 recoveryroot, 21 21 re_place, 22 remove 22 remove, 23 IFNULL(Label.priority, 10000) AS priority 23 24 FROM rawExp 24 25 JOIN magicRun USING (exp_id) … … 33 34 ON magicDSRun.magic_ds_id = magicDSFile.magic_ds_id 34 35 AND magicDSFile.component = diffSkyfile.skycell_id 36 LEFT JOIN Label ON magicDSRun.label = Label.label 35 37 WHERE 36 38 magicDSRun.state = 'new' … … 40 42 AND diffSkyfile.quality = 0 41 43 AND magicDSFile.component IS NULL 44 AND (Label.active OR Label.active IS NULL) 42 45 -- bothways diffSkyfiles 43 46 UNION … … 62 65 recoveryroot, 63 66 re_place, 64 remove 67 remove, 68 IFNULL(Label.priority, 10000) AS priority 65 69 FROM rawExp 66 70 JOIN magicRun USING (exp_id) … … 75 79 ON magicDSRun.magic_ds_id = magicDSFile.magic_ds_id 76 80 AND magicDSFile.component = diffSkyfile.skycell_id 81 LEFT JOIN Label ON magicDSRun.label = Label.label 77 82 WHERE 78 83 magicDSRun.state = 'new' … … 82 87 AND diffSkyfile.quality = 0 83 88 AND magicDSFile.component IS NULL 89 AND (Label.active OR Label.active IS NULL) 84 90 ) AS magicDSRun 85 91 -- we need the following so this query is compatible with the other stages
Note:
See TracChangeset
for help on using the changeset viewer.
