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.
Return Values
Value |
Symbolic Constant |
Explanation |
---|---|---|
0 |
NO |
auto commit is not enabled. |
1 |
YES |
auto commit is enabled. |
See Also
ctdbSetAutoCommit() ctdbSetOperationState() ctdbGetOperationState()