[CONJ-105] getConnection(String, String) ignores defined properties Created: 2014-08-12  Updated: 2014-09-10  Resolved: 2014-09-10

Status: Closed
Project: MariaDB Connector/J
Component/s: None
Affects Version/s: 1.1.7
Fix Version/s: 1.1.8

Type: Bug Priority: Major
Reporter: Andy Shulman Assignee: Massimo Siani (Inactive)
Resolution: Duplicate Votes: 0
Labels: None

Issue Links:
Duplicate
duplicates CONJ-81 MySQLDataSource implementation discar... Closed

 Description   

If I call MySQLDataSource#getConnection(String username, String password), it returns MySQLConnection.newConnection(new MySQLProtocol(url, username, password, new Properties()));

If I have previously passed in properties via MySQLDataSource#setProperties(String properties), those properties are improperly ignored. The return statement above should use "info" instead of "new Properties()".



 Comments   
Comment by Massimo Siani (Inactive) [ 2014-08-29 ]

Duplicate of CONJ-81, fixed in
https://code.launchpad.net/~massimo-siani/mariadb-java-client/CONJ-81,
in review.

Comment by Andy Shulman [ 2014-08-29 ]

I've marked it as a duplicate, sorry about that!

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