Product Documentation

c-treeDB API API for C

Previous Topic

Next Topic

ctdbSetIndexNullFlag

Set the null key flag for this index.

Declaration

CTDBRET ctdbSetIndexNullFlag(CTHANDLE Handle, CTBOOL NullFlag)

Description

ctdbSetIndexNullFlag() sets the null key flag for this index. Use ctdbGetIndexNullFlag() to retrieve the null key flag for the desired index.

  • Handle [in] the index handle.
  • NullFlag [in] the null key flag for this index.

Returns

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

See also

ctdbAllocIndex(), ctdbGetIndexNullFlag()

TOCIndex