Product Documentation

FairCom DB API for C

Previous Topic

Next Topic

ctdbReleaseBatchBuffer

Release the batch buffer.

Declaration

CTDBRET ctdbDECL ctdbReleaseBatchBuffer (CTHANDLE Handle)

Description

ctdbReleaseBatchBuffer() explicitly releases the batch buffer that was allocated by a ctdbSetBatch call with the CTBATCH_KEEPBUFFER mode that stays allocated after the end of the batch to be reused by another batch.

  • Handle [in] the record handle.

Returns

  • ctdbReleaseBatchBuffer() returns CTDBRET_OK on success.

See also

ctdbGetBatchBufferSize()

TOCIndex