Changeset 12131 for trunk/ippTools/src/difftool.c
- Timestamp:
- Feb 28, 2007, 6:44:37 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/ippTools/src/difftool.c (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/src/difftool.c
r12112 r12131 281 281 // constrants 282 282 if (!diffInputSkyfileInsert(config->dbh, 283 (psS 32)atoi(diff_id),284 (psS 32)atoi(warp_id),283 (psS64)atoll(diff_id), 284 (psS64)atoll(warp_id), 285 285 skycell_id, 286 286 tess_id, … … 322 322 " JOIN warpInputExp\n" 323 323 " ON diffInputSkyfile.warp_id = warpInputExp.warp_id\n" 324 " JOIN camProcessedExp\n" 325 " ON warpInputExp.cam_id = camProcessedExp.cam_id\n" 326 " JOIN chipProcessedExp\n" 327 " ON camProcessedExp.chip_id = chipProcessedExp.chip_id\n" 324 328 " JOIN rawExp\n" 325 " ON warpInputExp.exp_tag= rawExp.exp_tag\n"329 " ON chipProcessedExp.exp_tag = rawExp.exp_tag\n" 326 330 " WHERE\n" 327 331 " diffRun.state = 'run'\n" … … 379 383 380 384 if (psArrayLength(output)) { 385 if (!convertIdToStr(output)) { 386 psError(PS_ERR_UNKNOWN, false, "failed to convert id fields into a strings"); 387 psFree(output); 388 return false; 389 } 390 381 391 // negative simple so the default is true 382 392 if (!ippdbPrintMetadatas(stdout, output, "diffInputSkyfile", !simple)) { … … 474 484 475 485 if (psArrayLength(output)) { 486 if (!convertIdToStr(output)) { 487 psError(PS_ERR_UNKNOWN, false, "failed to convert id fields into a strings"); 488 psFree(output); 489 return false; 490 } 491 476 492 // negative simple so the default is true 477 493 if (!ippdbPrintMetadatas(stdout, output, "diffSkyfile", !simple)) { … … 532 548 533 549 if (!diffSkyfileInsert(config->dbh, 534 (psS 32)atoi(diff_id),550 (psS64)atoll(diff_id), 535 551 uri, 536 552 bg, … … 637 653 638 654 if (psArrayLength(output)) { 655 if (!convertIdToStr(output)) { 656 psError(PS_ERR_UNKNOWN, false, "failed to convert id fields into a strings"); 657 psFree(output); 658 return false; 659 } 660 639 661 // negative simple so the default is true 640 662 if (!ippdbPrintMetadatas(stdout, output, "diffSkyfile", !simple)) {
Note:
See TracChangeset
for help on using the changeset viewer.
