My Oracle Support Banner

Why wrong flags are returned for SQLGetInfo(SQL_SCHEMA_USAGE) ? (Doc ID 2585758.1)

Last updated on OCTOBER 07, 2019

Applies to:

MySQL Connectors - Version 8.0 and later
Information in this document applies to any platform.

Symptoms

Getting wrong flags returned for SQLGetInfo(SQL_SCHEMA_USAGE).

This is the output using odbctest:

As can be seen SQL_SCHEMA_USAGE returns flags claiming schemas can be used when in fact MySQL does not support schemas.

 

Changes

This is happening since ODBC 8.0.15.

SQL_SCHEMA_USAGE reported 0 in 8.0.12 which was the correct behaviour.

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.