Changeset 6341 for trunk/ippTools/src/pxframes.c
- Timestamp:
- Feb 7, 2006, 10:36:15 AM (20 years ago)
- File:
-
- 1 edited
-
trunk/ippTools/src/pxframes.c (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/src/pxframes.c
r6337 r6341 79 79 PS_ASSERT_PTR_NON_NULL(config, NULL); \ 80 80 \ 81 psArray *exposures = exptype##SelectRowObjects(config->d atabase, \81 psArray *exposures = exptype##SelectRowObjects(config->dbh, \ 82 82 config->where, MAX_ROWS); \ 83 83 if (!exposures) { \ … … 97 97 exposure->exp_id); \ 98 98 \ 99 psArray *images = imfiletype##SelectRowObjects(config->d atabase, where, \99 psArray *images = imfiletype##SelectRowObjects(config->dbh, where, \ 100 100 MAX_ROWS); \ 101 101 psFree(where); \ … … 155 155 { 156 156 PS_ASSERT_PTR_NON_NULL(config, false); 157 PS_ASSERT_PTR_NON_NULL(config->d atabase, false);157 PS_ASSERT_PTR_NON_NULL(config->dbh, false); 158 158 PS_ASSERT_PTR_NON_NULL(frame, false); 159 159 160 psDB *dbh = config->d atabase;160 psDB *dbh = config->dbh; 161 161 162 162 if (!rawScienceExpInsertObject(dbh, frame->exposure)) { 163 psError(PS_ERR_UNKNOWN, false, "d atabaseaccess failed");163 psError(PS_ERR_UNKNOWN, false, "dbh access failed"); 164 164 return false; 165 165 } … … 168 168 for (long i = 0; i < images->n; i++) { 169 169 if (!rawImfileInsertObject(dbh, images->data[i])) { 170 psError(PS_ERR_UNKNOWN, false, "d atabaseaccess failed");170 psError(PS_ERR_UNKNOWN, false, "dbh access failed"); 171 171 return false; 172 172 } … … 214 214 { 215 215 PS_ASSERT_PTR_NON_NULL(config, false); 216 PS_ASSERT_PTR_NON_NULL(config->d atabase, false);216 PS_ASSERT_PTR_NON_NULL(config->dbh, false); 217 217 PS_ASSERT_PTR_NON_NULL(frame, false); 218 218 219 psDB *dbh = config->d atabase;219 psDB *dbh = config->dbh; 220 220 221 221 if (!rawDetrendExpInsertObject(dbh, frame->exposure)) { 222 psError(PS_ERR_UNKNOWN, false, "d atabaseaccess failed");222 psError(PS_ERR_UNKNOWN, false, "dbh access failed"); 223 223 return false; 224 224 } … … 227 227 for (long i = 0; i < images->n; i++) { 228 228 if (!rawImfileInsertObject(dbh, images->data[i])) { 229 psError(PS_ERR_UNKNOWN, false, "d atabaseaccess failed");229 psError(PS_ERR_UNKNOWN, false, "dbh access failed"); 230 230 return false; 231 231 }
Note:
See TracChangeset
for help on using the changeset viewer.
