Bug #69290 | JDBC Table type "SYSTEM TABLE" is used inconsitently | ||
---|---|---|---|
Submitted: | 20 May 2013 18:47 | Modified: | 23 Oct 2013 17:21 |
Reporter: | Matthias Bläsing | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | Connector / J | Severity: | S3 (Non-critical) |
Version: | 5.1.18 | OS: | Any |
Assigned to: | Filipe Silva | CPU Architecture: | Any |
[20 May 2013 18:47]
Matthias Bläsing
[29 May 2013 13:43]
Filipe Silva
Hi Matthias Bläsing, Thank you for this bug report. It was verified as reported.
[23 Oct 2013 17:21]
Daniel So
Added the following entry to the Connector/J 5.1.27 changelog: The SYSTEM TABLE type was handled inconsistently in different methods: DatabaseMetaData.getTableTypes() did not return system tables, and DatabaseMetaData.getTables() did not return all system tables. With this fix, the table types SYSTEM TABLE and SYSTEM VIEW are returned by getTableTypes(), and getTables() now returns tables from the internal schemas mysql, information_schema, and performance_schema as instances of SYSTEM TABLE.
[23 Oct 2013 21:59]
Daniel So
Revised the changelog entry for this bug: "The SYSTEM TABLE type was handled inconsistently in different methods: DatabaseMetaData.getTableTypes() did not return system tables, and DatabaseMetaData.getTables() did not return all system tables. With this fix, the table types SYSTEM TABLE and SYSTEM VIEW are returned by getTableTypes(), and getTables() now returns tables from the internal schemas mysql and performance_schema as instances of SYSTEM TABLE and tables from information_schema as instances of SYSTEM VIEW."