Hi all,
Please find attached a patch adding regression tests for the functions
in info.c. The following functions, that use hardcoded column names
for their results are checked:
- SQLGetTypeInfo
- SQLTables
- SQLColumns
- SQLSpecialColumns
- SQLStatistics
- SQLPrimaryKeys
- SQLForeignKeys
- SQLProcedureColumns
- SQLTablePrivileges
Note that the number of columns used for some of those functions, like
SQLGetTypeInfo, has increased since 0x0300, so those regression tests
are not compatible with versions of odbc older than 0x0300 and would
need an alternative output. The patch attached does not have the
alternative output for ODBCVER < 0x0300. Do we honestly need it?
Regards
--
Michael