Bug #119404 Calling SQLTables() does not include internal tables/views
Submitted: 15 Nov 18:43
Reporter: Igor Korot Email Updates:
Status: Open Impact on me:
None 
Category:Connector / ODBC Severity:S2 (Serious)
Version: OS:Any
Assigned to: CPU Architecture:Any

[15 Nov 18:43] Igor Korot
Description:
Hi, maintainers,

When I tried to call either "SQLTablez(catalog, SQL_NTS, nullptr, 0, nullptr, 0, nullptr, 0)" or SQLTables(SQL_ALL_CATALOGS, SQL_NTS, nullptr, 0, nullptr, 0, nullptr, 0 )" I only get the tables that belong to the database I connected to.

I don't get the tables that bong to information_schema or any other internal schema.

Is this by design?

Running the same on SQL SServer or PostgreSQL, I'm getting everything.

Thank you.

How to repeat:
 Call SQLTables() as described in the report.