Changeset 28411 for trunk/ippTools/share/pubtool_definerun.sql
- Timestamp:
- Jun 18, 2010, 4:04:27 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/ippTools/share/pubtool_definerun.sql (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/share/pubtool_definerun.sql
r28372 r28411 38 38 AND (camRun.magicked != 0 OR publishClient.magicked = 0) 39 39 -- WHERE hook %s 40 UNION 41 -- Get diffphots to publish 42 SELECT DISTINCT 43 client_id, 44 diff_phot_id AS stage_id, 45 diffPhotRun.label AS src_label 46 FROM publishClient 47 JOIN diffPhotRun 48 JOIN diffRun USING(diff_id) 49 JOIN diffInputSkyfile USING(diff_id) 50 JOIN warpRun ON warpRun.warp_id = diffInputSkyfile.warp1 -- Only JOINing input, not reference! 51 JOIN fakeRun USING(fake_id) 52 JOIN camRun USING(cam_id) 53 JOIN chipRun USING(chip_id) 54 JOIN rawExp USING(exp_id) 55 WHERE publishClient.stage = 'diffphot' 56 AND publishClient.active = 1 57 AND diffPhotRun.state IN ('full', 'cleaned', 'goto_cleaned') 58 AND (diffRun.diff_mode = 4 OR publishClient.magicked = 0) -- diffPhotRun doesn't respect magic 59 -- WHERE hook %s 40 60 ) AS publishToDo 41 61 -- Only get stuff that hasn't been published
Note:
See TracChangeset
for help on using the changeset viewer.
