Product Documentation

FairCom DB API for C

Previous Topic

Next Topic

ctdbSetTableGroupid

Set the table group ID.

Declaration

CTDBRET ctdbSetTableGroupid(CTHANDLE Handle, pTEXT groupid)

Description

ctdbSetTableGroupid() sets the table group ID. To retrieve the table group ID, use ctdbGetTableGroupid().

  • Handle [in] the Table Handle.
  • groupid [in] the table group id. If groupid is NULL, no action is taken.

Returns

ctdbSetTableGroupid() returns CTDBRET_OK on success, or FairCom DB API C API error on failure.

See also

ctdbAllocTable(), ctdbGetTableGroupid()

TOCIndex