Changeset 13990 for branches/backtrack/ippTools/src/regtool.c
- Timestamp:
- Jun 28, 2007, 12:01:22 PM (19 years ago)
- File:
-
- 1 edited
-
branches/backtrack/ippTools/src/regtool.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/backtrack/ippTools/src/regtool.c
r13967 r13990 620 620 } 621 621 622 // insert an entry into the chipPendingExp table623 if (!chipQueueExpTag(config, exp_tag, NULL, NULL, NULL, NULL, NULL)) {624 // rollback625 if (!psDBRollback(config->dbh)) {626 psError(PS_ERR_UNKNOWN, false, "database error");627 }628 psError(PS_ERR_UNKNOWN, false, "failed to queue chipPendingExp");629 psFree(output);630 return false;631 }632 622 633 623 // set the state for the newExp to stop … … 638 628 } 639 629 psError(PS_ERR_UNKNOWN, false, "failed to change newExp.state for exp_tag: %s", exp_tag); 630 psFree(output); 631 return false; 632 } 633 634 // insert an entry into the chipPendingExp table 635 // this can only be run as the newExp's state has been set to stop 636 if (!chipQueueExpTag(config, exp_tag, NULL, NULL, NULL, NULL, NULL)) { 637 // rollback 638 if (!psDBRollback(config->dbh)) { 639 psError(PS_ERR_UNKNOWN, false, "database error"); 640 } 641 psError(PS_ERR_UNKNOWN, false, "failed to queue chipPendingExp"); 640 642 psFree(output); 641 643 return false;
Note:
See TracChangeset
for help on using the changeset viewer.
