Product Documentation

FairCom DB API for C

Previous Topic

Next Topic

ctdbSetBatchRangeOff

Removes the range for record batch operations.

Declaration

CTDBRET ctdbDECL ctdbSetBatchRangeOff(CTHANDLE Handle)

Description

  • Handle [IN] - Record handle

This is the batch version of ctdbRecordRangeOff(). When performing a record batch, use ctdbSetBatchRangeOff() as it does not connect to the server but instead clears the information locally in the client avoiding an extra network hit. When performing individual record lookups, use ctdbRecordRangeOff().

Returns

Return CTDBRET_OK on success.

New error code CTDBRET_ALREADYSET = 4170 indicates that a range or a filter for batch operation is already set.

See Also

ctdbSetBatchRangeOn (ctdbSetBatchRangeOn, ctdbSetBatchRangeOn)()

ctdbSetBatchFilter (ctdbSetBatchFilter, ctdbSetBatchFilter)()

ctdbRecordRangeOn()

ctdbRecordRangeOff()

TOCIndex