IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 19181


Ignore:
Timestamp:
Aug 23, 2008, 9:33:25 AM (18 years ago)
Author:
eugene
Message:

adding sample WHERE for update (commented out)

File:
1 edited

Legend:

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

    r18366 r19181  
    2525    AND chipProcessedImfile.class_id IS NULL
    2626    AND chipMask.label IS NULL
     27
     28-- new where logic for update.  we probably need to add a 'data_state'
     29-- field to chipProcessedImfile and update it (full, cleaned, etc) as
     30-- we cleanup or update
     31--    (chipRun.state = 'new'
     32--    AND chipProcessedImfile.chip_id IS NULL
     33--    AND chipProcessedImfile.exp_id IS NULL
     34--    AND chipProcessedImfile.class_id IS NULL
     35--    AND chipMask.label IS NULL)
     36--    OR
     37--    (chipRun.state = 'update'
     38--    AND chipProcessedImfile.data_state = 'cleaned'
Note: See TracChangeset for help on using the changeset viewer.