IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 14, 2008, 3:28:57 PM (18 years ago)
Author:
eugene
Message:

various fixes to the get command-line options for cleanup stages correct

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branch_20080719/ippTools/src/dettool_processedexp.c

    r18991 r19078  
    105105    }
    106106
    107     if (!p_psDBRunQuery(config->dbh, query, det_id, exp_id)) {
     107    if (!p_psDBRunQuery(config->dbh, query, (long long) det_id, (long long) exp_id)) {
    108108        psError(PS_ERR_UNKNOWN, false, "database error");
    109109        psFree(query);
     
    282282
    283283    psMetadata *where = psMetadataAlloc();
    284     PXOPT_COPY_S64(config->args, where, "-det_id", "detProcessedExp.det_id", "==");
    285     PXOPT_COPY_STR(config->args, where, "-label", "detProcessedExp.label", "==");
     284    PXOPT_COPY_S64(config->args, where, "-det_id", "det_id", "==");
     285    PXOPT_COPY_S64(config->args, where, "-exp_id", "exp_id", "==");
    286286
    287287    psString query = pxDataGet("dettool_pendingcleanup_processedexp.sql");
     
    344344
    345345    psMetadata *where = psMetadataAlloc();
    346     PXOPT_COPY_STR(config->args, where, "-label", "label", "==");
     346    PXOPT_COPY_S64(config->args, where, "-det_id", "det_id", "==");
     347    PXOPT_COPY_S64(config->args, where, "-exp_id", "exp_id", "==");
    347348
    348349    psString query = pxDataGet("dettool_donecleanup_processedexp.sql");
Note: See TracChangeset for help on using the changeset viewer.