Product Documentation

c-treeDB API API for C

Previous Topic

Next Topic

c-treeDB API Function for defining list of dynamic partition members

A new function was added to c-treeDB API to provide the ability to define a list of dynamic partition members. This allows you to set the partition table dynamic members when using the FILESET() syntax in SQL.

Declaration

CTDBRET ctdbSetTablePartitionDynMbrs(CTHANDLE Handle, pTEXT partdesc)

Description

ctdbSetTablePartitionDynMbrs sets the dynamic member list for a partitioned file. It must be called before calling ctdbOpenTable.

Parameters

  • Handle [IN] - Table Handle.
  • partdesc [IN] - The extension string describing the partition members. c-treeDB API does not keep a copy of the string which then must persist in memory until the end of the ctdbOpen call.

Return

Error code

TOCIndex