ctdbGetCndxIndex
Retrieve the conditional index expression string, given the index number.
Declaration
CTDBRET ctdbGetCndxIndex(CTHANDLE Handle, NINT indexnbr, pTEXT buffer,
NINT bufferlen)
Description
ctdbGetCndxIndex() retrieves the conditional index expression string, given the index number. The conditional expression is added, deleted or updated with ctdbUpdateCndxIndex() or ctdbUpdateCndxIndexByName().
Returns
ctdbGetCndxIndex() returns CTDBRET_OK on success, or c-treeDB API error on failure.
See also
ctdbUpdateCndxIndex(), ctdbUpdateCndxIndexByName(), ctdbGetCndxIndexLength(), ctdbGetCndxIndexLengthByName()