IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 16, 2010, 4:08:30 PM (16 years ago)
Author:
Paul Price
Message:

Fix pending query similar to definerun query.

File:
1 edited

Legend:

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

    r28319 r28373  
    2727        AND publishRun.state = 'new'
    2828        AND diffRun.state IN ('full', 'cleaned', 'goto_cleaned')
    29         AND (diffRun.magicked > 0 OR diffRun.diff_mode = 4 OR publishClient.magicked = 0)
     29        AND (diffRun.magicked != 0 OR diffRun.diff_mode = 4 OR publishClient.magicked = 0)
    3030        -- WHERE hook %s
    3131    UNION
     
    4848        AND publishRun.state ='new'
    4949        AND camRun.state IN ('full', 'cleaned', 'goto_cleaned')
    50         AND (camRun.magicked > 0 OR publishClient.magicked = 0)
     50        AND (camRun.magicked != 0 OR publishClient.magicked = 0)
    5151        -- WHERE hook %s
    5252) AS publishToDo
Note: See TracChangeset for help on using the changeset viewer.