diff options
author | Sergei Golubchik <serg@mariadb.org> | 2015-12-07 14:07:36 +0100 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2015-12-08 09:46:52 +0100 |
commit | 859a7369c1977baf6e204f4ed8f54b774790a179 (patch) | |
tree | 872f4a6ffa39c511a49742977a930b5fd087eee7 | |
parent | 99774f150186d1624efe41a6600c437e556f6299 (diff) | |
download | mariadb-git-859a7369c1977baf6e204f4ed8f54b774790a179.tar.gz |
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).
-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 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 |