IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 4, 2010, 10:50:29 AM (16 years ago)
Author:
bills
Message:

Add table Label which through priority column may be used to order
items pending for processing.
Implement usage of this table in the pstamptool pending modes and
chiptool -pendingimfile.
Various other postage stamp changes including adding pstampDependent.outdir

File:
1 edited

Legend:

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

    r27795 r27856  
    302302    psFree(where);
    303303
     304    psStringAppend(&query, " ORDER BY priority DESC, req_id");
     305
    304306    // treat limit == 0 as "no limit"
    305307    if (limit) {
     
    421423    }
    422424    psFree(where);
     425
     426    psStringAppend(&query, " ORDER BY priority DESC, req_id");
    423427
    424428    // treat limit == 0 as "no limit"
     
    705709    PXOPT_COPY_S64(config->args, where, "-job_id", "job_id", "==");
    706710    PXOPT_COPY_S64(config->args, where, "-req_id", "req_id", "==");
    707     pxAddLabelSearchArgs(config, where, "-label", "label", "LIKE");
     711    pxAddLabelSearchArgs(config, where, "-label", "pstampRequest.label", "LIKE");
    708712
    709713    PXOPT_LOOKUP_U64(limit, config->args, "-limit", false, false);
     
    723727    }
    724728    psFree(where);
     729
     730    psStringAppend(&query, " ORDER BY priority DESC, req_id");
    725731
    726732    // treat limit == 0 as "no limit"
     
    968974    PXOPT_LOOKUP_STR(imagedb,     config->args, "-imagedb",  true, false);
    969975    PXOPT_LOOKUP_STR(rlabel,      config->args, "-rlabel",  true, false);
     976    PXOPT_LOOKUP_STR(outdir,      config->args, "-outdir",  true, false);
    970977    PXOPT_LOOKUP_BOOL(need_magic, config->args, "-need_magic", false);
    971978    PXOPT_LOOKUP_BOOL(no_create,  config->args, "-no_create", false);
     
    10461053        rlabel,
    10471054        need_magic,
     1055        outdir,
    10481056        0               // fault
    10491057        )) {
     
    10871095    PXOPT_COPY_STR(config->args, where, "-imagedb", "imagedb", "==");
    10881096    PXOPT_COPY_S64(config->args, where, "-stage_id", "stage_id", "==");
     1097    PXOPT_COPY_S64(config->args, where, "-dep_id", "dep_id", "==");
    10891098    PXOPT_COPY_STR(config->args, where, "-rlabel", "rlabel", "==");
    10901099    pxAddLabelSearchArgs(config, where, "-label", "pstampRequest.label", "==");
     
    11051114    }
    11061115    psFree(where);
     1116
     1117    psStringAppend(&query, " ORDER BY priority DESC, req_id");
    11071118
    11081119    // treat limit == 0 as "no limit"
Note: See TracChangeset for help on using the changeset viewer.