IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 13, 2008, 11:21:45 AM (18 years ago)
Author:
eugene
Message:

cleanup command-line argument handling; deprecate config.where

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branch_20080706/ippTools/src/stacktoolConfig.c

    r18491 r18496  
    157157    psFree(modes);
    158158
    159     // generate SQL where clause
    160     config->where = psMetadataAlloc();
    161 
    162     PXOPT_ADD_WHERE_S64(warp_id);
    163     PXOPT_ADD_WHERE_S64(stack_id);
    164     PXOPT_ADD_WHERE_STR(skycell_id);
    165     PXOPT_ADD_WHERE_STR(tess_id);
    166     PXOPT_ADD_WHERE_S16_ALIAS("-code","fault");
    167 
    168     if (config->where->list->n < 1) {
    169         psFree(config->where);
    170         config->where = NULL;
    171     }
    172 
    173159    // define Database handle, if used
    174160    // do this last so we don't setup a connection before CLI options are
Note: See TracChangeset for help on using the changeset viewer.