ctdbGetIndexNbr
Retrieve the index number in the table list.
Declaration
CTDBRET ctdbGetIndexNbr(CTHANDLE Handle, pVRLEN pNumber)
Description
ctdbGetIndexNbr() retrieves the index number in the table list, given an index handle. Use ctdbGetSegmentNbr() to retrieve the segment number.
Returns
ctdbGetIndexNbr() returns CTDBRET_OK on success, or a FairCom DB API error code on failure.
See also
ctdbAllocIndex(), ctdbGetSegmentNbr(), ctdbGetIndexNbrByName(), ctdbGetIndexName()