4.3.89 ctdbFindTable
Find a table in a database dictionary.
Declaration
CTDBRET ctdbFindTable(CTHANDLE Handle, pTEXT Name, pTEXT Path,VRLEN PathSize)Description
ctdbFindTable finds a table in a database dictionary. Use ctdbFindTableByUID to find a table by its unique identifier. Use ctdbFindActiveTable to locate an active table by name, and return its handle.
ctdbFirstTable and ctdbNextTable may be used to obtain the names of all tables available to this Database.
Returns
ctdbFindTable returns CTDBRET_OK on success, or the c-tree Plus error code on failure.
Example
eRet=ctdbFindTable(hDbase, tb_name, tb_path, sizeof (tb_path));See also
ctdbAllocDatabase, ctdbFindTableByUID, ctdbFirstTable, ctdbNextTable
|
FairCom Corporation www.faircom.com |