[CONJ-390] getTableTypes() should be consistent with getTables() Created: 2016-11-15  Updated: 2016-11-24  Resolved: 2016-11-24

Status: Closed
Project: MariaDB Connector/J
Component/s: Other
Affects Version/s: 1.5.5
Fix Version/s: 2.0.0-RC

Type: Bug Priority: Minor
Reporter: Paul Foxworthy Assignee: Diego Dupin
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Problem/Incident
is caused by CONJ-218 MariaDbDatabaseMetaData wrong TABLE_T... Closed

 Description   

In CONJ-218 (change 4e8c7153e6a7f25128753f2b6527846013e24136), a table type of "BASE TABLE" is translated to "TABLE". The JDBC documentation describes "TABLE" as typical, so that's reasonable.

getTableTypes() returns the set of possible values for table types to be expected from getTables(). It should be modified to match, i.e. it should produce a value of "TABLE" and not "BASE TABLE".



 Comments   
Comment by Diego Dupin [ 2016-11-15 ]

totally right.

Comment by Paul Foxworthy [ 2016-11-15 ]

Thanks Diego.

Pull request #92 at https://github.com/MariaDB/mariadb-connector-j/pull/92

Comment by Diego Dupin [ 2016-11-24 ]

Pull request merged

Generated at Thu Feb 08 03:15:18 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.