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