IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 2, 2010, 9:53:48 AM (16 years ago)
Author:
bills
Message:

accept -ra -decl -radius in regtool -processedexp

File:
1 edited

Legend:

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

    r26981 r27132  
    347347    psString where2 = NULL;
    348348    if (!pxmagicAddWhere(config, &where2, "rawImfile")) {
    349         psError(psErrorCodeLast(), false, "pxSpaceAddWhere failed");
     349        psError(psErrorCodeLast(), false, "pxmagicAddWhere failed");
    350350        return false;
    351351    }
    352352    if (!pxspaceAddWhere(config, &where2, "rawImfile")) {
    353         psError(psErrorCodeLast(), false, "pxSpaceAddWhere failed");
     353        psError(psErrorCodeLast(), false, "pxspaceAddWhere failed");
    354354        return false;
    355355    }
     
    965965    PXOPT_COPY_F32(config->args,   where,  "-sun_angle_max", "sun_angle", "<");
    966966
     967    psString where2 = NULL;
     968    if (!pxspaceAddWhere(config, &where2, "rawExp")) {
     969        psError(psErrorCodeLast(), false, "pxSpaceAddWhere failed");
     970        return false;
     971    }
     972
    967973    PXOPT_LOOKUP_U64(limit, config->args, "-limit", false, false);
    968974    PXOPT_LOOKUP_BOOL(simple, config->args, "-simple", false);
     
    973979        psStringAppend(&query, " AND %s", whereClause);
    974980        psFree(whereClause);
    975     }
     981    } 
    976982    psFree(where);
     983
     984    if (where2) {
     985        psStringAppend(&query, " %s ", where2);
     986        psFree(where2);
     987    }
    977988
    978989    if (faulted) {
Note: See TracChangeset for help on using the changeset viewer.