IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 16, 2010, 3:23:47 PM (16 years ago)
Author:
Paul Price
Message:

When magicked data is cleaned, the 'magicked' column is set to -1.

File:
1 edited

Legend:

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

    r28322 r28369  
    2121        AND publishClient.active = 1
    2222        AND diffRun.state IN ('full', 'cleaned', 'goto_cleaned')
    23         AND (diffRun.magicked > 0 OR diffRun.diff_mode = 4 OR publishClient.magicked = 0)
     23        AND (diffRun.magicked != 0 OR diffRun.diff_mode = 4 OR publishClient.magicked = 0)
    2424    -- WHERE hook %s
    2525    UNION
     
    3636        AND publishClient.active = 1
    3737        AND camRun.state IN ('full', 'cleaned', 'goto_cleaned')
    38         AND (camRun.magicked > 0 OR publishClient.magicked = 0)
     38        AND (camRun.magicked != 0 OR publishClient.magicked = 0)
    3939    -- WHERE hook %s
    4040    ) AS publishToDo
Note: See TracChangeset for help on using the changeset viewer.