IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 24, 2009, 4:27:56 PM (17 years ago)
Author:
bills
Message:

fix some problems with distribution that were introduced by the removal of table rcDSProduct

File:
1 edited

Legend:

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

    r25517 r25567  
    903903    // required values
    904904    PXOPT_LOOKUP_S64(dist_id, config->args, "-dist_id", true, false);
    905     PXOPT_LOOKUP_S64(prod_id, config->args, "-prod_id", true, false);
     905    PXOPT_LOOKUP_S64(dest_id, config->args, "-dest_id", true, false);
    906906
    907907    PXOPT_LOOKUP_S16(fault, config->args, "-fault", false, false);
     
    913913            0,          // fs_id
    914914            dist_id,
    915             prod_id,
     915            dest_id,
    916916            name,
    917917            "full",
     
    928928    PXOPT_COPY_S64(config->args, where, "-fs_id", "fs_id", "==");
    929929    PXOPT_COPY_S64(config->args, where, "-dist_id", "rcDSFileset.dist_id", "==");
    930     PXOPT_COPY_S64(config->args, where, "-prod_id", "prod_id", "==");
     930    PXOPT_COPY_S64(config->args, where, "-dest_id", "dest_id", "==");
    931931    PXOPT_COPY_STR(config->args, where, "-stage", "stage", "==");;
    932932    PXOPT_COPY_S64(config->args, where, "-stage_id", "stage_id", "==");
     
    10561056    PXOPT_COPY_S64(config->args, where, "-dist_id",  "dist_id", "==");
    10571057    PXOPT_COPY_S64(config->args, where, "-dest_id",  "dest_id", "==");
    1058     PXOPT_COPY_S64(config->args, where, "-prod_id",  "prod_id", "==");
    10591058    PXOPT_COPY_S64(config->args, where, "-target_id","target_id", "==");
    10601059    PXOPT_COPY_S64(config->args, where, "-fs_id",    "fs_id", "==");
     
    14551454    psMetadata *where = psMetadataAlloc();
    14561455    PXOPT_COPY_S64(config->args, where, "-dest_id", "dest_id", "==");
    1457     PXOPT_COPY_S64(config->args, where, "-prod_id", "prod_id", "==");
    14581456
    14591457    PXOPT_LOOKUP_STR(state, config->args, "-set_state", false, false);
     
    14771475    // last_fileset normally gets set by updatercrunMode
    14781476    // Allowing it to be set here might cause problems
    1479     // especially since we are allowing selection by prod_id
     1477    // especially since we are allowing selection by dest_id
    14801478    if (last_fileset) {
    14811479        psStringAppend(&query, " %s last_fileset = '%s'", sep, last_fileset);
Note: See TracChangeset for help on using the changeset viewer.