ctdbGetActiveTableUID
Retrieve the tableUID, given a table handle.
Declaration
CTDBRET ctdbGetActiveTableUID(CTHANDLE Handle, pULONG puid)
Description
ctdbGetActiveTableUID() retrieves the tableUID, given the Table Handle. Use ctdbGetTableUID() to retrieve the tableUID, given the table name. Use ctdbFindTableByUID() to locate a table in a database by its unique identifier.
Returns
ctdbGetActiveTableUID() returns CTDBRET_OK on success, or c-treeDB API error on failure.
See also
ctdbAllocTable(), ctdbFindTableByUID(), ctdbGetTableUID()