Changeset 20973 for trunk/ippTools/share/difftool_definebyquery.sql
- Timestamp:
- Dec 13, 2008, 10:17:34 AM (17 years ago)
- File:
-
- 1 edited
-
trunk/ippTools/share/difftool_definebyquery.sql (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/share/difftool_definebyquery.sql
r20682 r20973 9 9 warpsToDiff.good_frac, 10 10 warpsToDiff.diff_id, 11 warpsToDiff.kind,12 11 current_stack_id, 13 best_stack_id 12 best_stack_id, 13 exp_id 14 14 FROM ( 15 15 -- Get list of warps that can be diffed, with any associated diff … … 23 23 warpRun.label as warp_label, 24 24 diffInputs.diff_id, 25 diffInputs. kind,26 diffTemplates.stack_id AS current_stack_id25 diffInputs.stack2 AS current_stack_id, 26 rawExp.exp_id 27 27 FROM warpSkyfile 28 28 JOIN warpRun USING(warp_id) … … 33 33 -- Check if it has an associated diff 34 34 LEFT JOIN diffInputSkyfile AS diffInputs 35 ON diffInputs.warp _id= warpSkyfile.warp_id35 ON diffInputs.warp1 = warpSkyfile.warp_id 36 36 AND diffInputs.skycell_id = warpSkyfile.skycell_id 37 AND diffInputs.template = 0 -- only join input files 38 -- Get the stack_id currently used as a template, if any 39 LEFT JOIN diffInputSkyfile AS diffTemplates 40 ON diffTemplates.diff_id = diffInputs.diff_id 41 AND diffTemplates.template != 0 -- only join template files 37 AND diffInputs.stack2 IS NOT NULL 42 38 WHERE 43 39 warpSkyfile.fault = 0
Note:
See TracChangeset
for help on using the changeset viewer.
