ctdbGetFirstActiveTable
Retrieve the handle of the first active/open table in the database dictionary.
Declaration
CTHANDLE ctdbGetFirstActiveTable(CTHANDLE Handle, pVRLEN pScanRec)
Description
ctdbGetFirstActiveTable() retrieves the handle of the first active/open table in a database dictionary. This function is used in conjunction with ctdbGetNextActiveTable() to get all the active/open tables in a database dictionary. To retrieve the table handle given the table name, use ctdbFindActiveTable().
Returns
ctdbGetFirstActiveTable() returns the table handle or NULL if there are no active/open tables in the database dictionary.
See also
ctdbAllocDatabase(), ctdbGetNextActiveTable(), ctdbFindActiveTable()