6.52 LceRollBackWork
This function is used to rollback the current transaction to the previous commit point for a transaction or set of transactions on the host.
An LceSetCommitmentOn function must have been executed before LceRollBackWork can be used.
BOOL |
LceRollBackWork |
(int |
iSession ) |
Parameters
iSession |
The session identifier as returned by LceGetSessionId. |
Return Values
TRUE is returned if the session has performed the function.
FALSE is returned if an error occurs.
Notes
LceRollBackWork can be called after one or more inserts, updates or deletes have been performed.
Commitment control allows you to recreate events from a specific point which would otherwise be lost due to a system or application failure.
Commitment control only applies to files for which it has been specified on the host. It is your responsibility to ensure that commitment control has been properly configured on the host. Refer to the appropriate database manuals and Commitment Control in the Guide and Using Commitment Control in the for more details about commitment control and commitment control processing.
Related Functions