IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 33625


Ignore:
Timestamp:
Mar 30, 2012, 2:11:02 PM (14 years ago)
Author:
bills
Message:

add new value for magicDSRun.state failed_restore

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTools/src/magicdstool.c

    r32668 r33625  
    779779    case IPP_STAGE_CAMERA:
    780780        query = NULL;
    781         clearRunQuery = "UPDATE chipBackgroundRun SET magicked = 0 where chip_bg_id = %" PRId64;
     781        clearRunQuery = "UPDATE camRun SET magicked = 0 where cam_id = %" PRId64;
    782782        break;
    783783    case IPP_STAGE_WARP:
     
    12421242        } else if (!strcmp(state, "failed_cleanup")) {
    12431243            new_state = "goto_cleaned";
     1244        } else if (!strcmp(state, "failed_restore")) {
     1245            new_state = "goto_restored";
    12441246        } else {
    12451247            psError(PS_ERR_UNKNOWN, true, "unexpected value for state: %s", state);
     
    14101412          (strcmp(state, "drop") == 0) ||
    14111413          (strcmp(state, "wait") == 0) ||
     1414          (strcmp(state, "failed_restore") == 0) ||
    14121415          (strcmp(state, "failed_revert") == 0) ||
    14131416          (strcmp(state, "failed_revert_ud") == 0) ||
Note: See TracChangeset for help on using the changeset viewer.