Changeset 6341 for trunk/ippTools/src/p2updatePending.c
- Timestamp:
- Feb 7, 2006, 10:36:15 AM (20 years ago)
- File:
-
- 1 edited
-
trunk/ippTools/src/p2updatePending.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/src/p2updatePending.c
r6336 r6341 10 10 // select all of the exposures which are still pending 11 11 psMetadataAddS32 (where, PS_LIST_TAIL, "STATE", 0, "==", PX_MODE_PENDING); 12 psArray *exposures = p2PendingExpSelectRowObjects (config->d atabase, where, MAX_ROWS);12 psArray *exposures = p2PendingExpSelectRowObjects (config->dbh, where, MAX_ROWS); 13 13 14 14 // we will now select all of the matching images which are done … … 20 20 psMetadataAddStr (where, PS_LIST_TAIL, "EXP_ID", PS_META_REPLACE, "==", exposure->exp_id); 21 21 psMetadataAddS32 (where, PS_LIST_TAIL, "P2_VERSION", PS_META_REPLACE, "==", exposure->p2_version); 22 psArray *images = p2PendingImfileSelectRowObjects (config->d atabase, where, MAX_ROWS);22 psArray *images = p2PendingImfileSelectRowObjects (config->dbh, where, MAX_ROWS); 23 23 if (images->n != exposure->imfiles) { 24 24 // free things … … 28 28 // XXX add P2 stats here? 29 29 // exposure->state = PX_MODE_DONE; 30 // p2PendingExposureUpdateRows (config->d atabase, exposure);30 // p2PendingExposureUpdateRows (config->dbh, exposure); 31 31 } 32 32 return true;
Note:
See TracChangeset
for help on using the changeset viewer.
