IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 17600


Ignore:
Timestamp:
May 9, 2008, 8:51:07 AM (18 years ago)
Author:
Paul Price
Message:

Adding table names to conditions.

File:
1 edited

Legend:

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

    r17226 r17600  
    10211021    // convert warp_id into a psS64
    10221022    if (warp_id) {
    1023         if (!psMetadataAddS64(where, PS_LIST_TAIL, "warp_id", 0, "==", (psS64)atoll(warp_id))) {
     1023        if (!psMetadataAddS64(where, PS_LIST_TAIL, "warpRun.warp_id", 0, "==", (psS64)atoll(warp_id))) {
    10241024            psError(PS_ERR_UNKNOWN, false, "failed to add item warp_id");
    10251025            psFree(where);
     
    10331033    // convert cam_id into a psS64
    10341034    if (cam_id) {
    1035         if (!psMetadataAddS64(where, PS_LIST_TAIL, "cam_id", 0, "==", (psS64)atoll(cam_id))) {
     1035        if (!psMetadataAddS64(where, PS_LIST_TAIL, "camRun.cam_id", 0, "==", (psS64)atoll(cam_id))) {
    10361036            psError(PS_ERR_UNKNOWN, false, "failed to add item cam_id");
    10371037            psFree(where);
     
    10421042    // convert chip_id into a psS64
    10431043    if (chip_id) {
    1044         if (!psMetadataAddS64(where, PS_LIST_TAIL, "chip_id", 0, "==", (psS64)atoll(chip_id))) {
     1044        if (!psMetadataAddS64(where, PS_LIST_TAIL, "chipRun.chip_id", 0, "==", (psS64)atoll(chip_id))) {
    10451045            psError(PS_ERR_UNKNOWN, false, "failed to add item chip_id");
    10461046            psFree(where);
     
    10511051    // convert exp_id into a psS64
    10521052    if (exp_id) {
    1053         if (!psMetadataAddS64(where, PS_LIST_TAIL, "exp_id", 0, "==", (psS64)atoll(exp_id))) {
     1053        if (!psMetadataAddS64(where, PS_LIST_TAIL, "rawExp.exp_id", 0, "==", (psS64)atoll(exp_id))) {
    10541054            psError(PS_ERR_UNKNOWN, false, "failed to add item exp_id");
    10551055            psFree(where);
     
    10581058    }
    10591059
     1060    // XXX These may need to be updated with the table name?
    10601061    PXOPT_COPY_STR(config->args, where, "-exp_name", "exp_name", "==");
    10611062    PXOPT_COPY_STR(config->args, where, "-inst", "camera", "==");
Note: See TracChangeset for help on using the changeset viewer.