IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 28, 2008, 4:24:03 PM (18 years ago)
Author:
bills
Message:

fix incorrect sql for stackSumSkyfile lookup

File:
1 edited

Legend:

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

    r19092 r19276  
    66JOIN stackSumSkyfile
    77    USING(stack_id)
     8JOIN stackInputSkyfile
     9    USING(stack_id)
    810JOIN warpRun
    9     -- just need 1 warp to find the camera
    10     ON warpRun.warp_id = (SELECT warp_id FROM stackInputSkyfile
    11                             WHERE stackInputSkyfile.stack_id = stackRun.stack_id limit 1)
     11    USING(warp_id)
    1212JOIN fakeRun
    1313    ON warpRun.fake_id = fakeRun.fake_id
     
    1818JOIN rawExp
    1919    ON chipRun.exp_id  = rawExp.exp_id
    20 WHERE
    21 -- bogus test; just here so there there is a 'WHERE' stmt to append conditionals too
    22 -- XXX EAM : this is not needed : fix the stacktool code.
    23     stackRun.stack_id is NOT NULL
Note: See TracChangeset for help on using the changeset viewer.