Name
msqlListIndex
Synopsis
m_result *msqlListIndex ( int sock , char *tableName , char *index )
Returns an m_result
structure containing
information about the given index. The returned result set will
contain the type of index (currently, `avl’ is the only
supported type), and the names of the fields contained in the index.
Like all m_result
structures, the return value of
this function must be freed with msqlFreeResult
when you are done with it.
Example
index = msqlListIndex(dbh, "people", "idx1"); /* 'index' now contains the information about the 'idx1' index in the 'people' table */
Get MySQL and mSQL now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.