ctdbGetSegmentKSeg
Retrieves the segment extended key definition.
DECLARATION
CTDBRET ctdbGetSegmentKSeg(CTHANDLE Handle, pctKSEGDEF pKSeg);
DESCRIPTION
ctdbGetSegmentKSeg() retrieves the current extended key segment definition.
RETURN
Value |
Symbolic Constant |
Explanation |
---|---|---|
0 |
CTDBRET_OK |
No error occurred. |
4096 |
CTDBRET_NOTFOUND |
Not found. |
See Appendix A for a complete listing of valid c-tree Plus error values.
EXAMPLE
ctKSEGDEF kseg;
if ((eRet = ctdbGetSegmentKSeg(hTable, &kseg)) != CTDBRET_OK)
printf("ctdbGetSegmentKSeg failed with error %d\n", eRet);
SEE ALSO
ctdbSetTableKSeg(), ctdbGetTableKSeg(), ctdbSetIndexKSeg(), ctdbGetIndexKSeg(), ctdbSetSegmentKSeg(), ctdbSetKSegDefaults()