Product Documentation

c-treeDB API 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 c-treeDB API error code on failure.

See also

ctdbAllocTable(), ctdbAddIndex()

TOCIndex