FairCom Corporation


4.3.68 ctdbDeleteRecord


Delete an existing record.

Declaration

CTDBRET ctdbDeleteRecord(CTHANDLE Handle)

Description

ctdbDeleteRecord deletes an existing record. In order to delete a record, the record must be locked first with the WRITE_LOCK mode. To lock a record use ctdbLock or ctdbdbLockRecord.

Returns

ctdbDeleteRecord returns CTDBRET_OK if successful, or the c-tree Plus error code on failure.

See also

ctdbAllocRecord, ctdbLock, ctdbdbLockRecord, ctdbReadRecord, ctdbWriteRecord


FairCom Corporation
www.faircom.com