Details
-
Type:
Bug
-
Status: Closed (View Workflow)
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 2.2.1
-
Fix Version/s: 2.2.1
-
Component/s: test
-
Labels:None
-
Environment:Mac OSX Sierra, Java 1.8 JDK
Description
On DatabaseMetadataTest.java for case-insensitive section of the code, there is a logical problem.
https://github.com/MariaDB/mariadb-connector-j/blob/64bb6337e4a940432530a85b9329580dc7582181/src/test/java/org/mariadb/jdbc/DatabaseMetadataTest.java#L625
The createTable method that is inside BaseTest.java actually drops the table if existing. Thus this test case will alway fail on case-insensitive dbs.