Product Documentation

c-treeDB API API for C

Previous Topic

Next Topic

ctdbSetTableDefaultIndexExtentSize

Set the table default index extent size. (Introduced V12.0.1)

Declaration

CTDBRET ctdbSetTableDefaultIndexExtentSize(CTHANDLE Handle, NINT size)

Description

ctdbSetTableDefaultIndexExtentSize() sets the table default index extent size. Use ctdbSetTableDefaultDataExtentSize() to set the table default data extend size. Use ctdbGetTableDefaultIndexExtentSize() to retrieve the table default index extent size. Use ctdbSetDefaultIndex() to set the table default index.

  • Handle [in] the Table Handle.
  • size [in] the size to be extent.

Returns

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

See also

ctdbAllocTable(), ctdbSetTableDefaultDataExtentSize(), ctdbSetDefaultIndex(), ctdbGetTableDefaultIndexExtentSize()

TOCIndex