[ODBC-383] Support use of schema in catalog functions Created: 2023-02-07 Updated: 2023-02-07 |
|
| Status: | Open |
| Project: | MariaDB Connector/ODBC |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | New Feature | Priority: | Major |
| Reporter: | markus makela | Assignee: | Lawrin Novitsky |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Description |
|
Even if MariaDB treats catalogs and schemas identically, being able to define all three values seems like a reasonable expectation. In information_schema.tables, all tables have the catalog set to def so one would expect to be able to define the exact table to be inspected using the information in information_schema. I would suggest a backwards compatible change: if the given catalog is def or if the catalog is identical to the schema, take the catalog from the schema argument instead. |