Products Support Documentation Download
rdmtransapi.h File Reference

Header for the RDM Transaction APIs. More...

#include "rdmtypes.h"
Include dependency graph for rdmtransapi.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


RDM_RETCODE rdm_transEnd (RDM_TRANS trans)
 End a transactional operation. More...
RDM_RETCODE rdm_transEndRollback (RDM_TRANS trans)
 End a transactional operation with a rollback. More...
RDM_RETCODE rdm_transFree (RDM_TRANS hTrans)
 Free a transaction handle. More...
RDM_RETCODE rdm_transPrecommit (RDM_TRANS trans)
 Precommit a transactional operation (Two-Phase Commit phase 1) More...
RDM_RETCODE rdm_transRollback (RDM_TRANS hTrans)
 Rollback transactional operations. More...

Detailed Description

Header for the RDM Transaction APIs.

Definition in file rdmtransapi.h.

Function Documentation

◆ rdm_transRollback()

RDM_RETCODE rdm_transRollback ( RDM_TRANS  hTrans)

Rollback transactional operations.

rdm_transRollback() will rollback a transaction up to the specified transaction point. All changes made to the database will be reverted, but any locks granted when the hTrans was started will remain. Locks that were granted to any transactions nested from hTrans will be freed. If a handle to subsequent transaction points was kept it should be discarded as the used of an invalided transaction handle is undefined.

hTrans will remain and updates can continue to be applied to it.

Return values
sOKAYNormal, successful return.
See also
[in]hTransA valid RDM transaction handle