Changeset 9735 for trunk/ippTools/src/p2searchPendingFrames.c
- Timestamp:
- Oct 24, 2006, 2:11:38 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/ippTools/src/p2searchPendingFrames.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/src/p2searchPendingFrames.c
r9392 r9735 37 37 38 38 // output array of rawSet 39 psArray *frames = psArrayAlloc (exposures->n);39 psArray *frames = psArrayAllocEmpty(exposures->n); 40 40 41 41 // 'where' to select each exposure … … 55 55 56 56 return frames; 57 } 57 } 58 58 59 59 // XXX EAM : this may be more efficient if we just select all p2PendingImages … … 91 91 psMetadata *where = NULL; 92 92 if (exp_tag) { 93 where = psMetadataAlloc(); 93 where = psMetadataAlloc(); 94 94 if (!psMetadataAddStr(where, PS_LIST_TAIL, "exp_tag", 0, "==", exp_tag)) { 95 95 psError(PS_ERR_UNKNOWN, false, "failed to add item exp_tag"); … … 97 97 return false; 98 98 } 99 } 99 } 100 100 psArray *exps = p2PendingExpSelectRowObjects(config->dbh, where, MAX_ROWS); 101 101 psFree(where);
Note:
See TracChangeset
for help on using the changeset viewer.
