Changeset 7970 for trunk/ippTools/src/pztool.c
- Timestamp:
- Jul 24, 2006, 4:31:35 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/ippTools/src/pztool.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/src/pztool.c
r7969 r7970 161 161 psFree(pending); 162 162 163 // check for completed exps 164 if (!pzsearchFlushPendingExp(config)) { 165 psError(PS_ERR_UNKNOWN, false, "pzsearchFlushPendingExp() failed"); 166 return false; 167 } 168 163 169 // point of no return 164 170 if (!psDBCommit(config->dbh)) { 165 171 psError(PS_ERR_UNKNOWN, false, "database error"); 166 return false;167 }168 169 // check for completed exps170 if (!pzsearchFlushPendingExp(config)) {171 psError(PS_ERR_UNKNOWN, false, "pzsearchFlushPendingExp() failed");172 172 return false; 173 173 } … … 242 242 // exp has no coresponding imfiles 243 243 244 // XXX start transaction245 246 244 psArray *nukeMe = psArrayAlloc(1); 247 245 nukeMe->n = 0; … … 251 249 if (!status) { 252 250 psError(PS_ERR_UNKNOWN, false, "dbh access failed"); 253 // XXX rollback transaction254 251 return false; 255 252 } 256 257 // XXX commit transaction 258 } 259 } 260 261 return true; 262 } 253 } 254 } 255 256 return true; 257 }
Note:
See TracChangeset
for help on using the changeset viewer.
