IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 5, 2008, 11:07:22 AM (18 years ago)
Author:
Paul Price
Message:

No warpInputExp any more.

File:
1 edited

Legend:

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

    r16734 r16828  
    193193
    194194    if (config->where) {
    195         psString whereClause = psDBGenerateWhereConditionSQL(config->where, "warpInputExp");
     195        psString whereClause = psDBGenerateWhereConditionSQL(config->where, "warpRun");
    196196        psStringAppend(&query, " AND %s", whereClause);
    197197        psFree(whereClause);
     
    240240
    241241        // negative simple so the default is true
    242         if (!ippdbPrintMetadatas(stdout, output, "warpInputExp", !simple)) {
     242        if (!ippdbPrintMetadatas(stdout, output, "warpRun", !simple)) {
    243243            psError(PS_ERR_UNKNOWN, false, "failed to print array");
    244244            psFree(output);
     
    268268
    269269    if (config->where) {
    270         psString whereClause = psDBGenerateWhereConditionSQL(config->where, "warpInputExp");
     270        psString whereClause = psDBGenerateWhereConditionSQL(config->where, "warpRun");
    271271        psStringAppend(&query, " AND %s", whereClause);
    272272        psFree(whereClause);
     
    343343
    344344    if (config->where) {
    345         psString whereClause = psDBGenerateWhereConditionSQL(config->where, "warpInputExp");
     345        psString whereClause = psDBGenerateWhereConditionSQL(config->where, "warpRun");
    346346        psStringAppend(&query, " AND %s", whereClause);
    347347        psFree(whereClause);
     
    390390
    391391        // negative simple so the default is true
    392         if (!ippdbPrintMetadatas(stdout, output, "warpInputExp", !simple)) {
     392        if (!ippdbPrintMetadatas(stdout, output, "warpRun", !simple)) {
    393393            psError(PS_ERR_UNKNOWN, false, "failed to print array");
    394394            psFree(output);
     
    402402}
    403403
    404    
     404
    405405static bool addoverlapMode(pxConfig *config)
    406406{
     
    673673    // XXX need to validate that this coresponds to an warpInputImfile
    674674    if (!warpSkyfileInsert(config->dbh,
    675                            (psS64)atoll(warp_id),
    676                            skycell_id,
    677                            tess_id,
    678                            uri,
    679                            path_base,
    680                            bg,
    681                            bg_stdev,
    682                            dtime_warp,
    683                            hostname,
    684                            good_frac,
    685                            ignore,
    686                            code
     675                           (psS64)atoll(warp_id),
     676                           skycell_id,
     677                           tess_id,
     678                           uri,
     679                           path_base,
     680                           bg,
     681                           bg_stdev,
     682                           dtime_warp,
     683                           hostname,
     684                           good_frac,
     685                           ignore,
     686                           code
    687687        )) {
    688688        if (!psDBRollback(config->dbh)) {
     
    717717    // < 5 & MYSQL 5 versions need to be kept in sync
    718718
    719 #undef MYSQL5 
     719#undef MYSQL5
    720720#if MYSQL5
    721721    // XXX at MySQL 4.1.21 (probably all of 4.1.x) chokes and dies on this
Note: See TracChangeset for help on using the changeset viewer.