IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 6, 2007, 5:42:07 PM (19 years ago)
Author:
jhoblitt
Message:

remove chipInputImfile table

File:
1 edited

Legend:

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

    r14023 r14065  
    7575    if (!chipRunInsert(config->dbh,
    7676            0x0,
     77            (psS64)atoll(exp_id),
    7778            "run",      // state               
    7879            workdir,
     
    9192    }
    9293
    93 #if 0
    94     // get the chip_id
    95     long chip_id = psDBLastInsertID(config->dbh);
    96 #endif
    97 
    98     // populate the chipInputImfile table from rawImfile based on exp_id,
    99     // where the coresponding newExp.state entry is set to stop
    100     psString query = pxDataGetCached("chiptool_queuerawimfile.sql");
    101     if (!query) {
    102         psError(PXTOOLS_ERR_DATA, false, "failed to retreive SQL statement");
    103         return false;
    104     }
    105 
    106     // queue the imfiles for the exp_id
    107     if (!p_psDBRunQuery(config->dbh, query, exp_id)) {
    108         psError(PS_ERR_UNKNOWN, false, "database error");
    109         return false;
    110     }
    111 
    112     // just to be safe, we should have changed at least one row
    113     if (psDBAffectedRows(config->dbh) < 1) {
    114         psError(PS_ERR_UNKNOWN, false,
    115                 "no rows affected - should have changed at least one row");
    116         return false;
    117     }
    118 
    11994    // point of no return
    12095    if (!psDBCommit(config->dbh)) {
Note: See TracChangeset for help on using the changeset viewer.