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