Product Documentation

c-treeDB API API for C

Previous Topic

Next Topic

ctdbIsTransActive

Check whether a transaction commit or abort is pending.

Declaration

CTBOOL ctdbIsTransActive(CTHANDLE Handle)

Description

ctdbIsTransActive() checks whether a transaction commit or abort is pending. An active transaction is one that has been initiated with a ctdbBegin() call.

  • Handle [in] the session handle.

Returns

ctdbIsTransActive() returns YES if the transaction is active, NO otherwise.

See also

ctdbBegin(), ctdbCommit(), ctdbAbort()

TOCIndex