Product Documentation

c-treeDB API API for C

Previous Topic

Next Topic

ctdbSetIndexTemporaryFlag

Set the temporary flag for this index

Declaration

CTDBRET ctdbSetIndexTemporaryFlag(CTHANDLE Handle, CTBOOL TempFlag)

Description

ctdbSetIndexTemporaryFlag() sets the temporary flag for this index. Use ctdbGetIndexTemporaryFlag() to retrieve the flag that indicates this index as temporary.

  • Handle [in] the index handle.
  • TempFlag [in] the temporary index flag.

Returns

ctdbSetIndexTemporaryFlag() returns CTDBRET_OK on success, or c-treeDB API C API error on failure.

See also

ctdbAllocIndex(), ctdbGetIndexTemporaryFlag()

TOCIndex