IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 19416


Ignore:
Timestamp:
Sep 8, 2008, 11:29:13 AM (18 years ago)
Author:
Paul Price
Message:

Need to specify table origins for WHERE conditions.

File:
1 edited

Legend:

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

    r19408 r19416  
    811811
    812812    psMetadata *where = psMetadataAlloc();
    813     PXOPT_COPY_S64(config->args, where, "-warp_id", "warp_id", "==");
    814     PXOPT_COPY_STR(config->args, where, "-label", "label", "==");
     813    PXOPT_COPY_S64(config->args, where, "-warp_id", "warpSkyCellMap.warp_id", "==");
     814    PXOPT_COPY_STR(config->args, where, "-label", "warpRun.label", "==");
    815815
    816816    PXOPT_LOOKUP_U64(limit, config->args, "-limit", false, false);
     
    825825
    826826    if (psListLength(where->list)) {
    827         psString whereClause = psDBGenerateWhereConditionSQL(where, "warpSkyCellMap");
     827        psString whereClause = psDBGenerateWhereConditionSQL(where, NULL);
    828828        psStringAppend(&query, " AND %s", whereClause);
    829829        psFree(whereClause);
Note: See TracChangeset for help on using the changeset viewer.