IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 2, 2015, 9:40:59 AM (11 years ago)
Author:
bills
Message:

support for skycal updates add staticskytool_revert_update.sql

File:
1 edited

Legend:

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

    r34791 r38563  
    1919LEFT JOIN skycalResult USING(skycal_id)
    2020WHERE
    21    (skycalRun.state = 'new' AND skycalResult.skycal_id IS NULL)
     21   ((skycalRun.state = 'new' AND skycalResult.skycal_id IS NULL)
     22    OR (skycalRun.state ='update' and staticskyRun.state ='full' and skycalResult.fault = 0))
Note: See TracChangeset for help on using the changeset viewer.