MySQL Connector/J 5.1 Release Notes
Fixes bugs found since release 5.1.15.
The Connection.isServerLocal()
method can now
determine if a connection is against a server on the same host.
When auto-reconnect was used with
cacheServerConfiguration
, errors could occur
when the host changed (in an HA setup, for example).
(Bug #12325877)
DBMD.getTables
and
getColumns
fail with table names that contain
a dot (like "junk_[Sp:e,c/ C-h+a=.r]
"). The
workaround is to use
useInformationSchema=True
.
(Bug #11782297)
Fixed a timestamp offset bug in
com.mysql.jdbc.ResultSetRow.getTimestampFast()
.
(Bug #60313, Bug #11890729)
ResultSetRow.getTimestampFast
and
getTime
had invalid offsets.
(Bug #60313)
wasNull
was not set for a
DATE
field with the value of
0000-00-00
in getDate()
,
although zeroDateTimeBehavior
is defined as
convertToNull
.
(Bug #57808)
A bypassing of the server protocol bug, where the DB should be
null-terminated whether it exists or not. This affects
COM_CHANGE_USER
.
(Bug #54425)
Fixed a bug where Connector/J would kill the matching
ConnectionID
, but on the wrong server.
(Bug #54135)