Bug #51776 Connection.rollback() doesn't throw Exception if connection dies
| Submitted: | 5 Mar 2010 19:33 | Modified: | 8 Mar 2010 17:45 |
|---|---|---|---|
| Reporter: | Todd Farmer (OCA) | Email Updates: | |
| Status: | Closed | Impact on me: | |
| Category: | Connector / J | Severity: | S2 (Serious) |
| Version: | 5.1.12 | OS: | Any |
| Assigned to: | Todd Farmer | CPU Architecture: | Any |
[5 Mar 2010 19:33]
Todd Farmer
[5 Mar 2010 21:27]
Todd Farmer
Patch for 51783 and 51776
Attachment: diff.txt (text/plain), 19.30 KiB.
[5 Mar 2010 21:29]
Todd Farmer
Pushed in r911.
[8 Mar 2010 17:45]
Tony Bedford
An error has been added to the 5.1.13 changelog: The rollback() method could fail to rethrow a SQLException if the server became unavailable during a rollback. The errant code only rethrew when ignoreNonTxTables was true and the exception did not have the error code 1196, SQLError.ER_WARNING_NOT_COMPLETE_ROLLBACK.
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.051 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.