Product Documentation

FairCom DB API for C

Previous Topic

Next Topic

ctdbGetAutoCommit

Declaration

CTBOOL ctdbDECL ctdbGetAutoCommit(CTHANDLE Handle);

Description

ctdbGetAutoCommit() retrieves the FairCom DB 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