summaryrefslogtreecommitdiff
path: root/sql/sql_select.cc
diff options
context:
space:
mode:
authorGeorgi Kodinov <joro@sun.com>2010-01-19 14:48:41 +0200
committerGeorgi Kodinov <joro@sun.com>2010-01-19 14:48:41 +0200
commit2fa49930cab5e070b5abaadbc2ab2b0899bc41b5 (patch)
tree392047c6a34b03ea06f7909218c81988283ed4ea /sql/sql_select.cc
parent8c6d6c0c6caaecfce24ae031ffca1f0031ce798d (diff)
downloadmariadb-git-2fa49930cab5e070b5abaadbc2ab2b0899bc41b5.tar.gz
revert of the fix for bug #45989: pushed by mistake.
Diffstat (limited to 'sql/sql_select.cc')
-rw-r--r--sql/sql_select.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/sql/sql_select.cc b/sql/sql_select.cc
index 24876ffec14..644f0072b7b 100644
--- a/sql/sql_select.cc
+++ b/sql/sql_select.cc
@@ -5824,8 +5824,6 @@ JOIN::make_simple_join(JOIN *parent, TABLE *tmp_table)
const_table_map= 0;
tmp_table_param.field_count= tmp_table_param.sum_func_count=
tmp_table_param.func_count= 0;
- if (tmp_table_param.copy_field)
- delete [] tmp_table_param.copy_field;
tmp_table_param.copy_field= tmp_table_param.copy_field_end=0;
first_record= sort_and_group=0;
send_records= (ha_rows) 0;