IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 16, 2009, 5:05:19 PM (17 years ago)
Author:
bills
Message:

added new magicDSRun.states goto_restored and goto_censored
The 'revert' process handles processing these transitions
the end result is either 'restored' or 'cesored'
Removed torestoreMode which wasn't implemented yet

File:
1 edited

Legend:

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

    r25419 r25423  
    11SELECT
    22    magic_ds_id,
     3    magicDSRun.state,
    34    exp_id,
    45    re_place,
     
    2021WHERE magicDSRun.stage = 'camera'
    2122    AND ((magicDSRun.state = 'new' AND magicDSFile.fault > 0)
    22        OR magicDSRun.state = 'goto_censored'
    23        OR magicDSRun.state = 'goto_restored')
     23         OR ((magicDSRun.state = 'goto_censored' OR magicDSRun.state = 'goto_restored')
     24              AND (backup_path_base IS NOT NULL)
     25            )
     26        )
Note: See TracChangeset for help on using the changeset viewer.