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
andgetColumns
fail with table names that contain a dot (like "junk_[Sp:e,c/ C-h+a=.r]
"). The workaround is to useuseInformationSchema=True
. (Bug #11782297)Fixed a timestamp offset bug in
com.mysql.jdbc.ResultSetRow.getTimestampFast()
. (Bug #60313, Bug #11890729)ResultSetRow.getTimestampFast
andgetTime
had invalid offsets. (Bug #60313)wasNull
was not set for aDATE
field with the value of0000-00-00
ingetDate()
, althoughzeroDateTimeBehavior
is defined asconvertToNull
. (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)