4.3.88 ctdbFindRowid
Find a record based on its rowid.
Declaration
CTDBRET ctdbFindRowid(CTHANDLE Handle, CTROWID rowid,CTFIND_MODE FindMode)Description
ctdbFindRowid retrieves the record, given its rowid.
- Handle [in] the record handle.
- rowid [in] the rowid value.
- FindMode [in] the mode to use to look for the record in the table. The find modes are listed in Section 4.1 "c-treeDB definitions" on page 4-1.
Note: The Find Mode CTFIND_EQ requires that the target contains values for all segments that compose the index and the index cannot allow duplicates.Returns
ctdbFindRowid returns CTDBRET_OK on success, or a c-treeDB C API error code on failure
See also
ctdbAllocRecord, ctdbGetRowid, ctdbHasRowid
|
FairCom Corporation www.faircom.com |