Bug #113970 | DatabaseMetaData#getTables produces duplicates | ||
---|---|---|---|
Submitted: | 13 Feb 6:34 | Modified: | 13 Feb 13:20 |
Reporter: | Jin Kwon | Email Updates: | |
Status: | Verified | Impact on me: | |
Category: | Connector / J | Severity: | S3 (Non-critical) |
Version: | 8.3.0 | OS: | MacOS |
Assigned to: | CPU Architecture: | Any |
[13 Feb 6:34]
Jin Kwon
[13 Feb 8:41]
MySQL Verification Team
Hello Jin Kwon, Thank you for the report and feedback. regards, Umesh
[13 Feb 8:50]
MySQL Verification Team
I have verified for now, I could be wrong but this might turn out to be an expected behavior, if you closely look at the tables from both mysql and performance_schema, below tables are present in both the schema: mysql> show tables from mysql; +------------------------------------------------------+ | Tables_in_mysql | +------------------------------------------------------+ . | replication_asynchronous_connection_failover | | replication_asynchronous_connection_failover_managed | . +------------------------------------------------------+ 38 rows in set (0.00 sec) mysql> show tables from performance_schema; +------------------------------------------------------+ | Tables_in_performance_schema | +------------------------------------------------------+ . | replication_asynchronous_connection_failover | | replication_asynchronous_connection_failover_managed | . +------------------------------------------------------+ 111 rows in set (0.00 sec) Only diff being the table level COMMENT missing in performance_schema tables(above).
[13 Feb 13:20]
Jin Kwon
The the problem will be the `TABLE_CAT` and/or `TABLE_SCHEM` which either should have the different value(`mysql`, `performance_schema`).