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).
This commit is contained in:
Sergei Golubchik 2015-12-07 14:07:36 +01:00
parent 99774f1501
commit 859a7369c1

View File

@ -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