Product Documentation

c-treeDB API API for C

Previous Topic

Next Topic

ctdbGetAutoCommit

Declaration

CTBOOL ctdbDECL ctdbGetAutoCommit(CTHANDLE Handle);

Description

ctdbGetAutoCommit() retrieves the c-treeDB API auto commit mode. The auto commit of transactions are invoked automatically when records are added or updated by ctdbWriteRecord() call.

  • Handle must be a session handle.

Return Values

Value

Symbolic Constant

Explanation

0

NO

auto commit is not enabled.

1

YES

auto commit is enabled.

See Also

ctdbSetAutoCommit() ctdbSetOperationState() ctdbGetOperationState()

TOCIndex