Bug #25053 Implement non-INFORMATION_SCHEMA variants of metadata methods
Submitted: 13 Dec 2006 22:21 Modified: 17 Oct 2007 16:06
Reporter: Mark Matthews Email Updates:
Status: Closed Impact on me:
None 
Category:Connector / ODBC Severity:S4 (Feature request)
Version:5.0 OS:Any
Assigned to: Jess Balint CPU Architecture:Any
Tags: ODBC5-RC

[13 Dec 2006 22:21] Mark Matthews
Description:
To allow C/ODBC v5 to be used with MySQL server versions prior to 5.0, the following methods need implementations that don't rely on INFORMATION_SCHEMA being present:

doColumnPrivileges
doPrimaryKeys
doStatistics
doTablePrivileges
getPrimaryKeyColumns

getUniqueIndexs
getUniqueIndexColumns

getForeignKeys
getForeignKeyColumns
doAppendForeignKeysColumns
doAppendForeignKeysFKColumns
doAppendForeignKeysPKColumns

Notice that there are analogs for these functions in the JDBC driver in DatabaseMetaData that show how to implement these functions without using INFORMATION_SCHEMA, or alternatively in Connector/ODBC 3.51.

How to repeat:
N/A