ctdbRecordSetOff
Disable and free an existing record set.
Declaration
CTDBRET ctdbRecordSetOff(CTHANDLE Handle)
Description
ctdbRecordSetOff() disables and free an existing record set. To enable a new record set, use ctdbRecordSetOn().
Returns
ctdbRecordSetOff() returns CTDBRET_OK if successful, or the c-tree error code on failure. The possible errors associated with ctdbRecordSetOff() are:
Example
ctdbRecordSetOn(pRec, 5);
ctdbSetDefaultIndexByName(pRec, "last name");
ctdbSetFieldAsString(pRec, 0, "silva");
ctdbFirstRecord(pRec);
ctdbRecordSetOff(pRec);
See also
ctdbAllocRecord(), ctdbRecordSetOn()