IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 34973 for trunk/ippTools/share


Ignore:
Timestamp:
Jan 18, 2013, 11:11:29 AM (13 years ago)
Author:
bills
Message:

Fix staticskytool -defineskycalrun so that new runs can be queued with different label
than existing runs. The join in the previous version was incorrect

File:
1 edited

Legend:

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

    r34761 r34973  
    11SELECT
    2     sky_id,
    3     stack_id,
     2    staticskyRun.sky_id,
     3    stackRun.stack_id,
    44    skycell_id,
    55    filter,
     
    1414    JOIN stackSumSkyfile USING(stack_id)
    1515    JOIN skycell USING(tess_id, skycell_id)
    16     LEFT JOIN skycalRun USING(sky_id, stack_id)
     16    LEFT JOIN skycalRun ON staticskyRun.sky_id = skycalRun.sky_id AND stackRun.stack_id = skycalRun.stack_id -- join hook %s
    1717WHERE staticskyRun.state = 'full'
    1818    AND staticskyResult.quality = 0
Note: See TracChangeset for help on using the changeset viewer.