IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 34815 for trunk


Ignore:
Timestamp:
Dec 13, 2012, 5:15:13 PM (14 years ago)
Author:
bills
Message:

forgot to use the skycell args in staticskytool -updateskycellrun

File:
1 edited

Legend:

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

    r34789 r34815  
    11571157    PXOPT_COPY_S64(config->args, where, "-sky_id",   "sky_id",   "==");
    11581158    PXOPT_COPY_S64(config->args, where, "-stack_id", "stack_id",   "==");
    1159     PXOPT_COPY_STR(config->args, where, "-label",   "label",    "==");
    1160     PXOPT_COPY_STR(config->args, where, "-state",   "state",    "==");
     1159    PXOPT_COPY_STR(config->args, where, "-label",   "skycalRun.label",    "==");
     1160    PXOPT_COPY_STR(config->args, where, "-state",   "skycalRun.state",    "==");
     1161    if (!pxskycellAddWhere(config, where)) {
     1162        psError(PXTOOLS_ERR_CONFIG, false, "failed to add skycell search arguments");
     1163        return false;
     1164    }
    11611165    if (!psListLength(where->list)) {
    11621166        psFree(where);
     
    11651169    }
    11661170
    1167     psString query = psStringCopy("UPDATE skycalRun");
     1171    psString query = psStringCopy("UPDATE skycalRun JOIN stackRun using(stack_id) join skycell using(tess_id, skycell_id)");
    11681172
    11691173    // pxUpdateRun gets parameters from config->args and updates
Note: See TracChangeset for help on using the changeset viewer.