Product Documentation

FairCom DB API for C

Previous Topic

Next Topic

ctdbDelIndex

Delete an index from a table.

Declaration

CTDBRET ctdbDelIndex(CTHANDLE Handle, NINT IndexNumber)

Description

ctdbDelIndex() deletes an index from a table. Use ctdbAddIndex() to add indexes in a table.

  • Handle [in] - the table handle.
  • IndexNumber [in] - the number of the index in the table.

Returns

ctdbDelIndex() returns CTDBRET_OK on success, or FairCom DB API error code on failure.

See also

ctdbAllocTable(), ctdbAddIndex()

TOCIndex