This is to cover issues described here
The main issue is redundant SQLPrimaryKeys calls(INFORMATION_SCHEMA query) - somehow in case of MySQL's driver this call is not done, otherwise show keys from it would be in the log.
The rest of smaller issued are addressed in ODBC-319