IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 7, 2006, 10:36:15 AM (20 years ago)
Author:
jhoblitt
Message:

rename pxConfig database -> dbh

File:
1 edited

Legend:

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

    r6336 r6341  
    1010    // select all of the exposures which are still pending
    1111    psMetadataAddS32 (where, PS_LIST_TAIL, "STATE", 0, "==", PX_MODE_PENDING);
    12     psArray *exposures = p2PendingExpSelectRowObjects (config->database, where, MAX_ROWS);
     12    psArray *exposures = p2PendingExpSelectRowObjects (config->dbh, where, MAX_ROWS);
    1313
    1414    // we will now select all of the matching images which are done
     
    2020        psMetadataAddStr (where, PS_LIST_TAIL, "EXP_ID",     PS_META_REPLACE, "==", exposure->exp_id);
    2121        psMetadataAddS32 (where, PS_LIST_TAIL, "P2_VERSION", PS_META_REPLACE, "==", exposure->p2_version);
    22         psArray *images = p2PendingImfileSelectRowObjects (config->database, where, MAX_ROWS);
     22        psArray *images = p2PendingImfileSelectRowObjects (config->dbh, where, MAX_ROWS);
    2323        if (images->n != exposure->imfiles) {
    2424            // free things
     
    2828        // XXX add P2 stats here?
    2929//      exposure->state = PX_MODE_DONE;
    30 //      p2PendingExposureUpdateRows (config->database, exposure);
     30//      p2PendingExposureUpdateRows (config->dbh, exposure);
    3131    }
    3232    return true;
Note: See TracChangeset for help on using the changeset viewer.