-
Committer:
Geert Vanderkelen
-
Date:
2012-12-04 21:28:57 UTC
-
Revision ID:
geert.vanderkelen@oracle.com-20121204212857-j7z1bsd9ied71ywq
BUG#15915243: Fixed ping() method to only reconnect when needed
MySQLConnection.ping() was always reconnecting to the database
ignoring the reconnect argument. This means that there would be a
rollback when pinging the MySQL server during a transaction.
ping() will now honor the reconnect option and only reestablish the
connection when needed.
A test case was added for bug report #15915243.