4.3.90 ctdbFindTableByUID
Locate a table in a database dictionary by its unique identifier.
Declaration
CTDBRET ctdbFindTableByUID(CTHANDLE Handle, ULONG uid, pTEXT Name,VRLEN NameSize, pTEXT Path, VRLEN PathSize)Description
ctdbFindTableByUID locates a table in a database dictionary by its unique identifier. Use ctdbFindTable to find a table by name. Use ctdbGetTableUID to retrieve the table UID.
- Handle [in] the database handle.
- uid [in] the unique table identifier, used to find the table.
- Name [out] the string with the table name.
- NameSize [in] the name size in bytes. If Name is not large enough to receive the table name, ctdbFindTableByUID will return CTDBRET_ARGSMALL.
- Path [out] the path of the table, if the table is located, and it is large enough to hold the path. The path includes drive, directory, name and extension.
- PathSize [in] the path size in bytes. If path is not large enough to receive the table path, ctdbFindTableByUID will return CTDBRET_ARGSMALL.
Returns
ctdbFindTableByUID returns CTDBRET_OK on success, or the c-tree Plus error code on failure.
See also
ctdbFindTable, ctdbFirstTable, ctdbNextTable, ctdbGetTableUID
|
FairCom Corporation www.faircom.com |