IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 24456


Ignore:
Timestamp:
Jun 16, 2009, 9:15:25 PM (17 years ago)
Author:
Paul Price
Message:

Need to qualify columns with table names.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/pap_mops/ippTools/src/pubtool.c

    r24443 r24456  
    303303
    304304    psMetadata *where = psMetadataAlloc(); // WHERE conditions
    305     PXOPT_COPY_S64(config->args, where, "-pub_id", "pub_id", "==");
    306     PXOPT_COPY_S32(config->args, where, "-fault", "fault", "==");
    307     PXOPT_COPY_STR(config->args, where, "-client_id", "client_id", "==");
    308     PXOPT_COPY_STR(config->args, where, "-comment", "comment", "LIKE");
    309     PXOPT_COPY_STR(config->args, where, "-label", "label", "==");
     305    PXOPT_COPY_S64(config->args, where, "-pub_id", "publishRun.pub_id", "==");
     306    PXOPT_COPY_S32(config->args, where, "-fault", "publishDone.fault", "==");
     307    PXOPT_COPY_STR(config->args, where, "-client_id", "publishClient.client_id", "==");
     308    PXOPT_COPY_STR(config->args, where, "-comment", "publishClient.comment", "LIKE");
     309    PXOPT_COPY_STR(config->args, where, "-label", "publishRun.label", "==");
    310310
    311311    psString query = pxDataGet("pubtool_revert.sql");
Note: See TracChangeset for help on using the changeset viewer.