IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 15, 2008, 2:21:00 PM (18 years ago)
Author:
bills
Message:

changes to support cleanup, purge, and update processing

File:
1 edited

Legend:

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

    r18793 r19558  
    4141        ON fakeRun.label = fakeMask.label
    4242    WHERE
    43         fakeProcessedImfile.fake_id IS NULL
    44         AND fakeProcessedImfile.class_id IS NULL
     43        ((fakeRun.state = 'new'
     44            AND fakeProcessedImfile.fake_id IS NULL
     45            AND fakeProcessedImfile.class_id IS NULL
     46        )
     47        OR (fakeRun.state = 'update'
     48            AND fakeProcessedImfile.data_state = 'cleaned')
     49        )
    4550        AND fakeMask.label IS NULL
    4651    ) as fakePendingImfile
Note: See TracChangeset for help on using the changeset viewer.