- Timestamp:
- Jul 30, 2010, 9:31:50 AM (16 years ago)
- Location:
- branches/eam_branches/ipp-20100621/ippTools/src
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
diffphottool.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20100621/ippTools/src
- Property svn:ignore
-
old new 39 39 warptool 40 40 staticskytool 41 41 bgtool 42 42 diffphottool
-
- Property svn:ignore
-
branches/eam_branches/ipp-20100621/ippTools/src/diffphottool.c
r28439 r28794 177 177 set_reduction ? set_reduction : reduction, 178 178 registered, 179 set_note ? set_note : note );179 set_note ? set_note : note, 0); 180 180 if (!diffPhotRunInsertObject(config->dbh, run)) { 181 181 psError(psErrorCodeLast(), false, "database error"); … … 430 430 psMetadata *row = output->data[i]; // Row of interest 431 431 psS64 diff_phot_id = psMetadataLookupS64(NULL, row, "diff_phot_id"); 432 433 const char *query = "UPDATE diffPhotRun SET state = 'full' WHERE diff_phot_id = %" PRId64; 434 if (!p_psDBRunQueryF(config->dbh, query, diff_phot_id)) { 432 psS64 magicked = psMetadataLookupS64(NULL, row, "magicked"); 433 434 const char *query = "UPDATE diffPhotRun SET state = 'full', magicked = %" PRId64 435 " WHERE diff_phot_id = %" PRId64; 436 if (!p_psDBRunQueryF(config->dbh, query, magicked, diff_phot_id)) { 435 437 psError(psErrorCodeLast(), false, 436 438 "failed to change state for diff_phot_id %" PRId64, diff_phot_id);
Note:
See TracChangeset
for help on using the changeset viewer.
