IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 27576


Ignore:
Timestamp:
Apr 1, 2010, 7:23:55 PM (16 years ago)
Author:
Paul Price
Message:

Don't ever Ever EVER select ourself to diff against.

File:
1 edited

Legend:

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

    r27445 r27576  
    1616JOIN fakeRun AS templateFakeRun
    1717    ON templateFakeRun.fake_id = templateWarpRun.fake_id
     18    AND templateFakeRun.fake_id != inputFakeRun.fake_id -- Don't use self as template!
    1819JOIN camRun AS templateCamRun
    1920    ON templateCamRun.cam_id = templateFakeRun.cam_id
     21    AND templateCamRun.cam_id != inputCamRun.cam_id -- Don't use self as template!
    2022JOIN chipRun AS templateChipRun
    2123    ON templateChipRun.chip_id = templateCamRun.chip_id
     24    AND templateChipRun.chip_id != inputChipRun.chip_id -- Don't use self as template!
    2225JOIN rawExp AS templateRawExp
    2326    ON templateRawExp.exp_id = templateChipRun.exp_id
    2427    AND templateRawExp.filter = inputRawExp.filter
     28    AND templateRawExp.exp_id != inputRawExp.exp_id -- Don't use self as template!
    2529WHERE inputWarpRun.state = 'full'
    2630    AND templateWarpRun.state = 'full'
Note: See TracChangeset for help on using the changeset viewer.