summaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorSergey Vojtovich <svoj@mariadb.org>2016-02-26 13:37:31 +0400
committerSergey Vojtovich <svoj@mariadb.org>2016-02-26 13:37:31 +0400
commit804fb401bab830c2a8099225e445867365ec5859 (patch)
tree4decc05832f4aeeda4885ceeda3c03bb79e4044f /plugin
parentb97e45f7b824de4e3aedbc16bfa32c5420659a0b (diff)
downloadmariadb-git-804fb401bab830c2a8099225e445867365ec5859.tar.gz
Fixed plugins.feedback_plugin_send failure
Fixed assertion failure introduced along with MDEV-6150 (thd must be unlinked before calling "delete thd").
Diffstat (limited to 'plugin')
-rw-r--r--plugin/feedback/sender_thread.cc1
1 files changed, 1 insertions, 0 deletions
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;