Changeset 6341 for trunk/ippTools/src/p2insertPendingFrames.c
- Timestamp:
- Feb 7, 2006, 10:36:15 AM (20 years ago)
- File:
-
- 1 edited
-
trunk/ippTools/src/p2insertPendingFrames.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/src/p2insertPendingFrames.c
r6336 r6341 19 19 psMetadataAddStr(where, PS_LIST_TAIL, "exp_id", PS_META_REPLACE, "==", 20 20 rawFrame->exposure->exp_id); 21 psArray *exposures = p2PendingExpSelectRowObjects(config->d atabase,21 psArray *exposures = p2PendingExpSelectRowObjects(config->dbh, 22 22 where, MAX_ROWS); 23 23 psFree(where); … … 67 67 } 68 68 69 if (!p2PendingExpInsertObject(config->d atabase, pendingExposure)) {70 psError(PS_ERR_UNKNOWN, false, "d atabaseaccess failed");69 if (!p2PendingExpInsertObject(config->dbh, pendingExposure)) { 70 psError(PS_ERR_UNKNOWN, false, "dbh access failed"); 71 71 return false; 72 72 } 73 73 74 74 for (int i = 0; i < pendingImages->n; i++) { 75 if (!p2PendingImfileInsertObject(config->d atabase,75 if (!p2PendingImfileInsertObject(config->dbh, 76 76 pendingImages->data[i])) { 77 psError(PS_ERR_UNKNOWN, false, "d atabaseaccess failed");77 psError(PS_ERR_UNKNOWN, false, "dbh access failed"); 78 78 return false; 79 79 }
Note:
See TracChangeset
for help on using the changeset viewer.
