Commit 526af173 authored by konstantin@mysql.com's avatar konstantin@mysql.com

Fix the broken test suite in -debug build.

parent 813b0771
...@@ -5986,6 +5986,8 @@ void JOIN::cleanup(bool full) ...@@ -5986,6 +5986,8 @@ void JOIN::cleanup(bool full)
*/ */
if (full) if (full)
{ {
if (tmp_join)
tmp_table_param.copy_field= 0;
group_fields.delete_elements(); group_fields.delete_elements();
/* /*
We can't call delete_elements() on copy_funcs as this will cause We can't call delete_elements() on copy_funcs as this will cause
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment