IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 19701


Ignore:
Timestamp:
Sep 23, 2008, 12:42:30 PM (18 years ago)
Author:
bills
Message:

cause an error if no rows get state changed in cleanup, update,purge processing

File:
1 edited

Legend:

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

    r19592 r19701  
    11121112    }
    11131113    psFree(query);
    1114 
    1115     // XXX Comment copied from addpendingimfile
    1116     // I've decided to make the transaction cover the Exp migration as
    1117     // well.  Otherwise, if the last imfile in an exp is moved and the exp
    1118     // migration fails then the data base is left in a situation where the exp
    1119     // migration can't happen.
     1114    if (psDBAffectedRows(config->dbh) < 1) {
     1115        psError(PS_ERR_UNKNOWN, false, "should have affected atleast 1 row");
     1116        return false;
     1117    }
    11201118
    11211119    query = pxDataGet("chiptool_change_exp_state.sql");
Note: See TracChangeset for help on using the changeset viewer.