IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 24, 2012, 3:52:04 PM (14 years ago)
Author:
eugene
Message:

merge changes from trunk

Location:
branches/eam_branches/ipp-20120905/ippTools/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20120905/ippTools/src

  • branches/eam_branches/ipp-20120905/ippTools/src/stacktool.c

    r34296 r34566  
    748748    PXOPT_COPY_STR(config->args, where, "-state",     "stackRun.state",     "==");
    749749    PXOPT_COPY_S64(config->args, where, "-sass_id",   "stackAssociationMap.sass_id",  "==");
     750    PXOPT_LOOKUP_S16(fault, config->args, "-fault", false, false);
    750751    if (!psListLength(where->list)) {
    751752        psFree(where);
     
    756757    //CZW join against stackAssociationMap
    757758    psString query = psStringCopy("UPDATE stackRun");
     759
     760    if (fault) {
     761        psStringAppend(&query, " JOIN stackSumSkyfile USING(stack_id)");
     762        PXOPT_COPY_S16(config->args, where, "-fault", "stackSumSkyfile.fault", "==");
     763    }
    758764
    759765    // pxUpdateRun gets parameters from config->args and updates
Note: See TracChangeset for help on using the changeset viewer.