[CONJ-556] identifierCaseSensitivity Test case logic Created: 2017-12-05  Updated: 2017-12-07  Resolved: 2017-12-07

Status: Closed
Project: MariaDB Connector/J
Component/s: test
Affects Version/s: 2.2.1
Fix Version/s: 2.2.1

Type: Bug Priority: Minor
Reporter: Sina Ghazi Assignee: Diego Dupin
Resolution: Fixed Votes: 0
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.



 Comments   
Comment by Diego Dupin [ 2017-12-07 ]

right, tests implementation make no sense. Corrected

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