From 859a7369c1977baf6e204f4ed8f54b774790a179 Mon Sep 17 00:00:00 2001 From: Sergei Golubchik Date: Mon, 7 Dec 2015 14:07:36 +0100 Subject: [PATCH] MDEV-9161 feedback_plugin_send in debug builds thd->cleanup_after_query() is needed to destroy all Items created for this query (and Item destructors free allocated Strings). --- plugin/feedback/sender_thread.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/plugin/feedback/sender_thread.cc b/plugin/feedback/sender_thread.cc index e6be8e3b9c2..da7628ef895 100644 --- a/plugin/feedback/sender_thread.cc +++ b/plugin/feedback/sender_thread.cc @@ -254,6 +254,7 @@ ret: { if (tables.table) free_tmp_table(thd, tables.table); + thd->cleanup_after_query(); /* clean up, free the thd. reset all thread local status variables to minimize