Changeset 16152
- Timestamp:
- Jan 18, 2008, 4:49:36 PM (18 years ago)
- File:
-
- 1 edited
-
branches/end_stage/ippTools/src/chiptool.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/end_stage/ippTools/src/chiptool.c
r16144 r16152 338 338 } 339 339 340 chipProcessedImfileRow *imfile = chipProcessedImfileRowAlloc(340 if (!chipProcessedImfileInsert(config->dbh, 341 341 (psS64)atoll(chip_id), 342 342 (psS64)atoll(exp_id), … … 363 363 path_base, 364 364 code 365 ); 366 if (!imfile) { 365 )) { 367 366 // rollback 368 367 if (!psDBRollback(config->dbh)) { 369 368 psError(PS_ERR_UNKNOWN, false, "database error"); 370 369 } 371 psError(PS_ERR_UNKNOWN, false, "failed to alloc chipProcessedImfileRow object"); 372 return false; 373 } 374 if (!chipProcessedImfileInsertObject(config->dbh, imfile)) { 375 // rollback 376 if (!psDBRollback(config->dbh)) { 377 psError(PS_ERR_UNKNOWN, false, "database error"); 378 } 379 psError(PS_ERR_UNKNOWN, false, "database error"); 380 psFree(imfile); 381 return false; 382 } 383 384 370 psError(PS_ERR_UNKNOWN, false, "database error"); 371 return false; 372 } 385 373 386 374 // XXX I've decided to make the transaction cover the Exp migration as … … 644 632 return false; 645 633 } 634 635 // should we stop here or proceed on to the cam stage? 636 if (psStrcasestr(chipRun->end_stage, "chip")) { 637 psFree(chipRun); 638 continue; 639 } 640 // else continue on... 646 641 647 642 // camQueueChipID() can only be run after chipRun.state has been set to
Note:
See TracChangeset
for help on using the changeset viewer.
