ctdbAddVTableResource
ctdbAddVTableResource() adds a virtual table resource.
Declaration
CTDBRET ctdbAddVTableResource(CTHANDLE Parent, CTHANDLE Child)
Description
Note: This function does not update the database dictionary and does not support callbacks. This function is used internally by c-treeDB and is documented only for completeness.
Return Values
Value |
Symbolic Constant |
Description |
4130 |
CTDBRET_NOMOREVTRES |
No more RESOURCE for vtable available on parent table. |
4131 |
CTDBRET_VTABLEEXIST |
The table has VTable defined in the dictionary. |
4132 |
CTDBRET_VTABLETYPE |
The VTable type in the dictionary mismatches the one in the resource. |
See c-tree Plus Error Codes for a complete listing of valid c-tree Plus error values.
See Also
ctdbAddMRTTable(), ctdbAllocVTableInfo(), ctdbCreateMRTTable(), ctdbFreeVTableInfo(), ctdbGetVTableInfoFromTable(), ctdbGetVTableNumber(), ctdbIsVTable(), ctdbRemoveVTableResource(), ctdbSetMRTTableFilter()