IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 27052


Ignore:
Timestamp:
Feb 24, 2010, 11:03:47 AM (16 years ago)
Author:
Paul Price
Message:

Require magic to have been performed.
This check has been made at the definerun part, but it's good to double-check here too.
In fact, it's necessary to double-check here, because we have runs we want to re-publish that have non-magicked data. I don't want to delete the publishRun from the database, but nor can I just delete the publishDone because that won't enforce magicked data.

File:
1 edited

Legend:

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

    r25929 r27052  
    2727        AND publishRun.state = 'new'
    2828        AND diffRun.state = 'full'
     29        AND (diffRun.magicked > 0 OR diffRun.diff_mode = 4 OR publishClient.magicked = 0)
    2930        -- WHERE hook %s
    3031    UNION
     
    4748        AND publishRun.state ='new'
    4849        AND camRun.state = 'full'
     50        AND (camRun.magicked > 0 OR publishClient.magicked = 0)
    4951        -- WHERE hook %s
    5052) AS publishToDo
Note: See TracChangeset for help on using the changeset viewer.