Bug #49700 | URL parameter sessionVariables (time_zone=GMT) ignored in pooled connection | ||
---|---|---|---|
Submitted: | 14 Dec 2009 23:26 | Modified: | 8 Jan 2010 11:10 |
Reporter: | Joachim Buechse | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | Connector / J | Severity: | S3 (Non-critical) |
Version: | 5.1.9 | OS: | Any |
Assigned to: | Tony Bedford | CPU Architecture: | Any |
Tags: | GMT, PooledConnection, sessionVariables, time_zone, timestamp, timezone, UTC |
[14 Dec 2009 23:26]
Joachim Buechse
[14 Dec 2009 23:29]
Joachim Buechse
Sample application inserting dates once through a non-pooled and once through a pooled connection
Attachment: Main.java (application/octet-stream, text), 6.24 KiB.
[14 Dec 2009 23:30]
Joachim Buechse
Minimalistic implemenation of a connection pool based on MysqlConnectionPoolDataSource
Attachment: ConnPool.java (application/octet-stream, text), 5.26 KiB.
[21 Dec 2009 19:50]
Mark Matthews
Fixed for 5.1.11.
[22 Dec 2009 8:00]
Tonci Grgin
Mark, could this be related to Bug#49759?
[8 Jan 2010 11:11]
Tony Bedford
An entry has been added to the 5.1.11 changelog: For pooled connections, Connector/J did not process the session variable time_zone when set via the URL, resulting in incorrect timestamp values being stored.