diff options
author | Sergey Vojtovich <svoj@mariadb.org> | 2016-02-26 13:37:31 +0400 |
---|---|---|
committer | Sergey Vojtovich <svoj@mariadb.org> | 2016-02-26 13:37:31 +0400 |
commit | 804fb401bab830c2a8099225e445867365ec5859 (patch) | |
tree | 4decc05832f4aeeda4885ceeda3c03bb79e4044f /plugin | |
parent | b97e45f7b824de4e3aedbc16bfa32c5420659a0b (diff) | |
download | mariadb-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.cc | 1 |
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; |