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/p2insertPendingFrames.c

    r6336 r6341  
    1919        psMetadataAddStr(where, PS_LIST_TAIL, "exp_id", PS_META_REPLACE, "==",
    2020            rawFrame->exposure->exp_id);
    21         psArray *exposures = p2PendingExpSelectRowObjects(config->database,
     21        psArray *exposures = p2PendingExpSelectRowObjects(config->dbh,
    2222            where, MAX_ROWS);
    2323        psFree(where);
     
    6767        }
    6868       
    69         if (!p2PendingExpInsertObject(config->database, pendingExposure)) {
    70             psError(PS_ERR_UNKNOWN, false, "database access failed");
     69        if (!p2PendingExpInsertObject(config->dbh, pendingExposure)) {
     70            psError(PS_ERR_UNKNOWN, false, "dbh access failed");
    7171            return false;
    7272        }
    7373
    7474        for (int i = 0; i < pendingImages->n; i++) {
    75             if (!p2PendingImfileInsertObject(config->database,
     75            if (!p2PendingImfileInsertObject(config->dbh,
    7676                    pendingImages->data[i])) {
    77                 psError(PS_ERR_UNKNOWN, false, "database access failed");
     77                psError(PS_ERR_UNKNOWN, false, "dbh access failed");
    7878                return false;
    7979            }
Note: See TracChangeset for help on using the changeset viewer.