Bug #116113 | DatabaseMetaData#getTables doesn't work properly for delimited identifiers | ||
---|---|---|---|
Submitted: | 15 Sep 17:45 | Modified: | 16 Sep 9:20 |
Reporter: | Ashhar Hasan | Email Updates: | |
Status: | Verified | Impact on me: | |
Category: | Connector / J | Severity: | S3 (Non-critical) |
Version: | 9.0 | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[15 Sep 17:45]
Ashhar Hasan
[16 Sep 9:20]
MySQL Verification Team
Hello Ashhar Hasan, Thank you for the report and feedback. regards, Umesh
[19 Sep 16:34]
Axyoan Marcelo
Posted by developer: Hello Ashhar, The tableNamePattern argument you are passing to getTables should be ```back````quoted```. The server treats `tableName`, the same as tablename, so we need a way to make them equivalent, meaning that Connector/J has to first unquote the tableName. There actually exists bug here, it lies in getColumns, as it is not unquoting the tableNamePattern given. Thank you for your report.