The mi_tab_istable() accessor function
The mi_tab_istable() function indicates whether the table descriptor describes a table.
Syntax
mi_boolean mi_tab_istable(MI_AM_TABLE_DESC *tableDesc)
- tableDesc
- Points to the table descriptor.
Usage
If the access method shares source files with a secondary access method, use this function to verify that the table descriptor belongs to the primary access method.
Return values
- MI_TRUE
- Indicates that the table descriptor pertains to a table.
- MI_FALSE
- Indicates that it describes an index.