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_warp.sql

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