From 804fb401bab830c2a8099225e445867365ec5859 Mon Sep 17 00:00:00 2001 From: Sergey Vojtovich Date: Fri, 26 Feb 2016 13:37:31 +0400 Subject: Fixed plugins.feedback_plugin_send failure Fixed assertion failure introduced along with MDEV-6150 (thd must be unlinked before calling "delete thd"). --- plugin/feedback/sender_thread.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'plugin') diff --git a/plugin/feedback/sender_thread.cc b/plugin/feedback/sender_thread.cc index ebb5d3217ad..f7b9f440fcd 100644 --- a/plugin/feedback/sender_thread.cc +++ b/plugin/feedback/sender_thread.cc @@ -265,6 +265,7 @@ ret: thd->set_status_var_init(); thread_count--; thd->killed= KILL_CONNECTION; + thd->unlink(); mysql_cond_broadcast(&COND_thread_count); mysql_mutex_unlock(&LOCK_thread_count); delete thd; -- cgit v1.2.1