ctdbGetCndxIndexLength
Retrieve the length in bytes of the conditional expression string, given the index number.
Declaration
NINT ctdbGetCndxIndexLength(CTHANDLE Handle, NINT indexnbr)
Description
ctdbGetCndxIndexLength() retrieves the length in bytes of the conditional expression string, given the index number. To retrieve the conditional expression, use ctdbGetCndxIndex() or ctdbGetCndxIndexByName(). The conditional expression is added, deleted or updated with ctdbUpdateCndxIndex() or ctdbUpdateCndxIndexByName().
Returns
ctdbGetCndxIndexLength() returns the conditional index length in bytes on success or -1 on failure.
See also
ctdbGetCndxIndexLengthByName(), ctdbUpdateCndxIndex(), ctdbUpdateCndxIndexByName()