Changeset 16828
- Timestamp:
- Mar 5, 2008, 11:07:22 AM (18 years ago)
- Location:
- trunk/ippTools
- Files:
-
- 3 edited
-
share/difftool_inputskyfile.sql (modified) (2 diffs)
-
share/stacktool_inputskyfile.sql (modified) (1 diff)
-
src/warptool.c (modified) (8 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/share/difftool_inputskyfile.sql
r14257 r16828 17 17 AND diffInputSkyfile.skycell_id = warpSkyfile.skycell_id 18 18 AND diffInputSkyfile.tess_id = warpSkyfile.tess_id 19 JOIN warp InputExp20 ON diffInputSkyfile.warp_id = warp InputExp.warp_id19 JOIN warpRun 20 ON diffInputSkyfile.warp_id = warpRun.warp_id 21 21 JOIN camProcessedExp 22 ON warp InputExp.cam_id = camProcessedExp.cam_id22 ON warpRun.cam_id = camProcessedExp.cam_id 23 23 JOIN chipRun 24 24 ON camProcessedExp.chip_id = chipRun.chip_id … … 47 47 JOIN stackInputSkyfile 48 48 ON diffInputSkyfile.stack_id = stackInputSkyfile.stack_id 49 JOIN warp InputExp50 ON stackInputSkyfile.warp_id = warp InputExp.warp_id49 JOIN warpRun 50 ON stackInputSkyfile.warp_id = warpRun.warp_id 51 51 JOIN camProcessedExp 52 ON warp InputExp.cam_id = camProcessedExp.cam_id52 ON warpRun.cam_id = camProcessedExp.cam_id 53 53 JOIN chipRun 54 54 ON camProcessedExp.chip_id = chipRun.chip_id -
trunk/ippTools/share/stacktool_inputskyfile.sql
r14031 r16828 9 9 AND stackRun.skycell_id = warpSkyfile.skycell_id 10 10 AND stackRun.tess_id = warpSkyfile.tess_id 11 JOIN warp InputExp12 ON stackInputSkyfile.warp_id = warp InputExp.warp_id11 JOIN warpRun 12 ON stackInputSkyfile.warp_id = warpRun.warp_id 13 13 JOIN camProcessedExp 14 ON warp InputExp.cam_id = camProcessedExp.cam_id14 ON warpRun.cam_id = camProcessedExp.cam_id 15 15 JOIN chipRun 16 16 ON camProcessedExp.chip_id = chipRun.chip_id -
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.
