Changeset 17872 for trunk/ippTools/src
- Timestamp:
- May 30, 2008, 4:19:52 PM (18 years ago)
- Location:
- trunk/ippTools/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/src/pxinject.c
r17611 r17872 91 91 92 92 if (!newExpInsert(config->dbh, 93 0x0, // exp_id93 0x0, // exp_id 94 94 tmp_exp_name, 95 95 tmp_camera, 96 96 tmp_telescope, 97 "reg", // state97 "reg", // state 98 98 workdir, 99 99 "dirty", … … 101 101 dvodb, 102 102 tess_id, 103 end_stage, 104 label 103 end_stage, 104 label, 105 NULL // epoch 105 106 ) 106 107 ) { … … 141 142 142 143 // insert with error flag state set to 0 (no errors) 143 if (!newImfileInsert(config->dbh, (psS64)atoll(exp_id), tmp_class_id, uri )) {144 if (!newImfileInsert(config->dbh, (psS64)atoll(exp_id), tmp_class_id, uri, NULL)) { 144 145 psError(PS_ERR_UNKNOWN, false, "database error"); 145 146 return false; -
trunk/ippTools/src/pztool.c
r17700 r17872 111 111 camera, 112 112 telescope, 113 uri 113 uri, 114 NULL // epoch 114 115 )) { 115 116 psError(PS_ERR_UNKNOWN, false, "database error"); … … 370 371 class_id, 371 372 uri, 372 code 373 code, 374 NULL // epoch 373 375 )) { 374 376 psError(PS_ERR_UNKNOWN, false, "database error"); … … 497 499 tess_id, // tess_id 498 500 end_stage, // end_stage 499 label 501 label, 502 NULL // epoch 500 503 ) 501 504 ) { -
trunk/ippTools/src/regtool.c
r17802 r17872 280 280 object, 281 281 hostname, 282 code 282 code, 283 NULL 283 284 )) { 284 285 psError(PS_ERR_UNKNOWN, false, "database error"); … … 630 631 psMetadata *row = output->data[0]; 631 632 // convert metadata into a newExp object 633 psMetadataConfigPrint(stdout, row); 632 634 newExpRow *newExp = newExpObjectFromMetadata(row); 633 635 psFree(output); 636 if (!newExp) { 637 psError(PS_ERR_UNKNOWN, false, "this should not happen"); 638 return false; 639 } 634 640 635 641 // carry through these values … … 700 706 0.0, 701 707 hostname, 702 code 708 code, 709 NULL 703 710 )) { 704 711 // rollback
Note:
See TracChangeset
for help on using the changeset viewer.
