Product Documentation

c-treeDB API API for C

Previous Topic

Next Topic

ctdbSetSegmentField

Change the underlying segment field. This function only applies to index segments based on a field handle.

Declaration

CTDBRET ctdbDECL ctdbSetSegmentField(CTHANDLE Handle,CTHANDLE field)

Description

  • Handle [in] - Segment handle to be changed.
  • field [IN] - New field handle.

Returns

Returns CTDBRET_OK on success.

See also

ctdbAllocSegment(), ctdbGetSegmentField()

TOCIndex