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:
parent
99774f1501
commit
859a7369c1
@ -254,6 +254,7 @@ ret:
|
|||||||
{
|
{
|
||||||
if (tables.table)
|
if (tables.table)
|
||||||
free_tmp_table(thd, tables.table);
|
free_tmp_table(thd, tables.table);
|
||||||
|
thd->cleanup_after_query();
|
||||||
/*
|
/*
|
||||||
clean up, free the thd.
|
clean up, free the thd.
|
||||||
reset all thread local status variables to minimize
|
reset all thread local status variables to minimize
|
||||||
|
Loading…
x
Reference in New Issue
Block a user