Product Documentation

c-treeDB API API for C

Previous Topic

Next Topic

ctdbGetIndexDuplicateFlag

Retrieve the allow duplicate key flag for this index.

Declaration

CTBOOL ctdbGetIndexDuplicateFlag(CTHANDLE Handle)

Description

ctdbGetIndexDuplicateFlag() retrieves the allow duplicate key flag for this index. Use ctdbSetIndexDuplicateFlag() to set the allow duplicate key flag for the desired index.

  • Handle [in] the index handle.

Returns

ctdbGetIndexDuplicateFlag() returns the duplicate key flag for this index (YES or NO).

See also

ctdbAllocIndex(), ctdbSetIndexDuplicateFlag()

TOCIndex