The mi_tab_nparam_exist() accessor function
The mi_tab_nparam_exist() function returns the number of virtual indexes that contain identical key columns.
Syntax
mi_integer mi_tab_nparam_exist(MI_AM_TABLE_DESC *tableDesc) - tableDesc
- Points to the index descriptor.
Usage
Call this function to determine how
many alternative configuration-parameter entries the table descriptor
contains. The return value is the array position of the last parameter
entry in the table descriptor. Thus, this function returns 0 for
the first and only parameter entry. If two parameter entries exist,
this function returns 1, and so forth. Use the return
value from this function to extract parameter entries from the array
with the mi_tab_param_exist() function.
Return values
The integer indicates the
number of configuration-parameter specifications, and therefore indexes,
on identical columns. A value of 0 indicates one
index on a group of columns. A value of n indicates the existence
of n+1 indexes.