IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 31, 2011, 6:07:03 PM (15 years ago)
Author:
watersc1
Message:

magictool definebyquery bugfix to exclude new runs based on exp_id/diff_id/label, not just on exp_id/label

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTools/share/magictool_definebyquery_select.sql

    r29831 r32269  
    4444JOIN rawExp USING(exp_id)
    4545LEFT JOIN
    46     (SELECT magic_id, exp_id, label
     46    (SELECT magic_id, exp_id, diff_id, label
    4747        FROM magicRun
    4848        -- rerun hook %s
    4949    ) AS oldMagicRun
    5050    ON oldMagicRun.exp_id = chipRun.exp_id
     51    AND oldMagicRun.diff_id = diffWarps.diff_id
    5152-- WHERE hook %s
    5253GROUP BY chipRun.exp_id
Note: See TracChangeset for help on using the changeset viewer.