IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 10, 2008, 9:20:04 AM (18 years ago)
Author:
Paul Price
Message:

Add label search to difftool -todiffskyfile

File:
1 edited

Legend:

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

    r19457 r19459  
    394394
    395395    psMetadata *where = psMetadataAlloc();
    396     PXOPT_COPY_S64(config->args, where,  "-diff_id", "diff_id", "==");
     396    PXOPT_COPY_S64(config->args, where,  "-diff_id", "diffRun.diff_id", "==");
     397    PXOPT_COPY_STR(config->args, where,  "-label", "diffRun.label", "==");
    397398
    398399    PXOPT_LOOKUP_U64(limit, config->args, "-limit", false, false);
     
    406407
    407408    if (psListLength(where->list)) {
    408         psString whereClause = psDBGenerateWhereConditionSQL(where, "diffSkyfile");
     409        psString whereClause = psDBGenerateWhereConditionSQL(where, NULL);
    409410        psStringAppend(&query, " AND %s", whereClause);
    410411        psFree(whereClause);
Note: See TracChangeset for help on using the changeset viewer.