[CONJ-123] Session variables lost and exception if set via MySQLDataSource.setProperties/setURL Created: 2014-11-25 Updated: 2014-12-02 Resolved: 2014-11-26 |
|
| 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: | J. Veldhuizen | Assignee: | Massimo Siani (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
If I set session variables via the MySQLDataSource.setProperties method (or indirectly with setURL), the value of the 'sessionVariables' parameter is not picked up correctly.
The current implementation of this method is:
which leads to the property 'sessionVariables' with value 'sql_mode'. The implementation of parsing properties in the class Driver is correct:
|
| Comments |
| Comment by J. Veldhuizen [ 2014-11-26 ] |
|
That is handled very quickly! Thank you! |