IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 26, 2010, 8:39:32 AM (16 years ago)
Author:
bills
Message:

Change the destreak cleanup to preserve the rows in the magicDSFile table

File:
1 edited

Legend:

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

    r28934 r29561  
    1111    AND (chipRun.state = 'cleaned' OR chipRun.state = 'update')
    1212    AND (chipProcessedImfile.data_state = 'cleaned')
    13     -- don't queue update if the associated magicDSFile exists
     13    -- don't queue update if the associated magicDSFile exists and isn't cleaned
    1414    AND (chipRun.magicked = 0
    15       OR (magicDSRun.state = 'cleaned' OR magicDSRun.state = 'new')
    16             AND magicDSFile.component IS NULL)
     15      OR ((magicDSRun.state = 'cleaned' OR magicDSRun.state = 'update')
     16            AND (magicDSFile.data_state = 'cleaned`' OR magicDSFile.data_state = 'update'))
     17    )
Note: See TracChangeset for help on using the changeset viewer.