Merge lp:~laurynas-biveinis/percona-server/bug1397859 into lp:percona-server/5.6
Status: | Merged |
---|---|
Approved by: | Laurynas Biveinis |
Approved revision: | no longer in the source branch. |
Merged at revision: | 704 |
Proposed branch: | lp:~laurynas-biveinis/percona-server/bug1397859 |
Merge into: | lp:percona-server/5.6 |
Diff against target: |
89 lines (+42/-0) 6 files modified
mysql-test/include/have_handler_socket.inc (+15/-0) mysql-test/include/plugin.defs (+1/-0) mysql-test/r/handler_socket.result (+4/-0) mysql-test/t/handler_socket-master.opt (+1/-0) mysql-test/t/handler_socket.test (+14/-0) plugin/HandlerSocket-Plugin-for-MySQL/handlersocket/database.cpp (+7/-0) |
To merge this branch: | bzr merge lp:~laurynas-biveinis/percona-server/bug1397859 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
George Ormond Lorch III (community) | g2 | Approve | |
Review via email: mp+243305@code.launchpad.net |
Description of the change
Fix bug 1397859 (5.6 with enabled HandlerSocket hangs on shutdown).
There are two issues. First, dbcontex:
remove_
after the fix for http://
remove_
conditionally in HandlerSocket.
Second, remove_
thd->release_
supposed to perform a part of THD::~THD destruction outside
LOCK_thread_count protection, so call it accordingly.
Add a testcase and support for testing HandlerSocket in MTR.
http://
ST 48431