Product Documentation

c-treeDB API API for C

Previous Topic

Next Topic

ctdbSetMRTTableFilter

ctdbSetMRTTableFilter() sets filter information in the virtual table handle.

Declaration

CTDBRET ctdbSetMRTTableFilter(CTHANDLE Handle, pTEXT condition)

Description

When implementing virtual table callbacks the ctdbSetMRTTableFilter() function may be of use.

This function sets the filter information in the MRTTable Handle such that at the end of the open procedure c-treeDB API knows which filter to use.

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(), ctdbRemoveVTableResource()

TOCIndex