From 526af173807b3444ffbaf47772490a9718c6bbc7 Mon Sep 17 00:00:00 2001 From: "konstantin@mysql.com" <> Date: Mon, 27 Jun 2005 14:10:56 +0400 Subject: [PATCH] Fix the broken test suite in -debug build. --- sql/sql_select.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sql/sql_select.cc b/sql/sql_select.cc index b487637ba9c..13c5c7cd716 100644 --- a/sql/sql_select.cc +++ b/sql/sql_select.cc @@ -5986,6 +5986,8 @@ void JOIN::cleanup(bool full) */ if (full) { + if (tmp_join) + tmp_table_param.copy_field= 0; group_fields.delete_elements(); /* We can't call delete_elements() on copy_funcs as this will cause