ctdbDelSegment
Delete segment indicated by SegNumber.
Declaration
CTDBRET ctdbDelSegment(CTHANDLE Handle, NINT SegNumber)
Description
ctdbDelSegment() deletes a segment from an index. The segment to be deleted is indicated by SegNumber. Use ctdbAddSegment() and ctdbInsSegment() to add new index segments.
Returns
ctdbDelSegment() returns CTDBRET_OK on success, or c-treeDB API error code on failure.
See also
ctdbAllocIndex(), ctdbAddSegment(), ctdbInsSegment()