Changeset 15614
- Timestamp:
- Nov 13, 2007, 4:22:13 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/ippTools/src/pxchip.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/src/pxchip.c
r15580 r15614 66 66 PS_ASSERT_PTR_NON_NULL(config, false); 67 67 68 // start a transaction69 if (!psDBTransaction(config->dbh)) {70 psError(PS_ERR_UNKNOWN, false, "database error");71 return false;72 }73 74 68 // create a chipRun 75 69 if (!chipRunInsert(config->dbh, … … 84 78 dvodb) 85 79 ) { 86 // rollback87 if (!psDBRollback(config->dbh)) {88 psError(PS_ERR_UNKNOWN, false, "database error");89 }90 psError(PS_ERR_UNKNOWN, false, "database error");91 return 0;92 }93 94 // point of no return95 if (!psDBCommit(config->dbh)) {96 80 psError(PS_ERR_UNKNOWN, false, "database error"); 97 81 return 0;
Note:
See TracChangeset
for help on using the changeset viewer.
