Bug #49462 | Reconnect fails to reinitialize connection, including autocommit | ||
---|---|---|---|
Submitted: | 4 Dec 2009 15:31 | Modified: | 8 Dec 2009 15:05 |
Reporter: | Todd Farmer (OCA) | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Workbench | Severity: | S1 (Critical) |
Version: | 5.2.10 r4680 | OS: | Windows (XP) |
Assigned to: | Sergei Tkachenko | CPU Architecture: | Any |
[4 Dec 2009 15:31]
Todd Farmer
[4 Dec 2009 17:13]
Johannes Taxacher
switching the commit/rollback buttons according to the autocommit state would also be helpful
[7 Dec 2009 20:46]
Sergei Tkachenko
Replaced usage of auto-reconnect feature provided by MySQL/C++ Connector (OPT_RECONNECT) with more advanced approach. Now when reconnecting WB restores auto-commit mode, active schema and properly updates connection id.
[8 Dec 2009 14:36]
Johannes Taxacher
autocommit-state is now correctly restored after connection to server has been re-established.
[8 Dec 2009 14:36]
Johannes Taxacher
fix will be in 5.2.11
[8 Dec 2009 15:05]
Tony Bedford
An entry was added to the 5.2.11 changelog: When MySQL Workbench silently reconnected to a server after a communication failure, it failed to reinitialize the connection correctly. As a result of this failure Autocommit was silently enabled. If a user was working with transactional tables, the commit and rollback toolbar buttons appeared to work, although they had no effect.