ctdbRemoveVTableResource
ctdbRemoveVTableResource() removes a virtual table resource.
Declaration
CTDBRET ctdbRemoveVTableResource(CTHANDLE Parent, NINT number)
Description
Note: This function does not update the database dictionary and does not support callbacks. This function is used internally by c-treeDB API 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(), ctdbAddVTableResource(), ctdbAllocVTableInfo(), ctdbCreateMRTTable(), ctdbFreeVTableInfo(), ctdbGetVTableInfoFromTable(), ctdbGetVTableNumber(), ctdbIsVTable(), ctdbSetMRTTableFilter()