Changeset 16828 for trunk/ippTools/src/warptool.c
- Timestamp:
- Mar 5, 2008, 11:07:22 AM (18 years ago)
- File:
-
- 1 edited
-
trunk/ippTools/src/warptool.c (modified) (8 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/src/warptool.c
r16734 r16828 193 193 194 194 if (config->where) { 195 psString whereClause = psDBGenerateWhereConditionSQL(config->where, "warp InputExp");195 psString whereClause = psDBGenerateWhereConditionSQL(config->where, "warpRun"); 196 196 psStringAppend(&query, " AND %s", whereClause); 197 197 psFree(whereClause); … … 240 240 241 241 // negative simple so the default is true 242 if (!ippdbPrintMetadatas(stdout, output, "warp InputExp", !simple)) {242 if (!ippdbPrintMetadatas(stdout, output, "warpRun", !simple)) { 243 243 psError(PS_ERR_UNKNOWN, false, "failed to print array"); 244 244 psFree(output); … … 268 268 269 269 if (config->where) { 270 psString whereClause = psDBGenerateWhereConditionSQL(config->where, "warp InputExp");270 psString whereClause = psDBGenerateWhereConditionSQL(config->where, "warpRun"); 271 271 psStringAppend(&query, " AND %s", whereClause); 272 272 psFree(whereClause); … … 343 343 344 344 if (config->where) { 345 psString whereClause = psDBGenerateWhereConditionSQL(config->where, "warp InputExp");345 psString whereClause = psDBGenerateWhereConditionSQL(config->where, "warpRun"); 346 346 psStringAppend(&query, " AND %s", whereClause); 347 347 psFree(whereClause); … … 390 390 391 391 // negative simple so the default is true 392 if (!ippdbPrintMetadatas(stdout, output, "warp InputExp", !simple)) {392 if (!ippdbPrintMetadatas(stdout, output, "warpRun", !simple)) { 393 393 psError(PS_ERR_UNKNOWN, false, "failed to print array"); 394 394 psFree(output); … … 402 402 } 403 403 404 404 405 405 static bool addoverlapMode(pxConfig *config) 406 406 { … … 673 673 // XXX need to validate that this coresponds to an warpInputImfile 674 674 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 code675 (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 687 687 )) { 688 688 if (!psDBRollback(config->dbh)) { … … 717 717 // < 5 & MYSQL 5 versions need to be kept in sync 718 718 719 #undef MYSQL5 719 #undef MYSQL5 720 720 #if MYSQL5 721 721 // 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.
