summaryrefslogtreecommitdiff
path: root/sql/item_sum.cc
diff options
context:
space:
mode:
authorigor@rurik.mysql.com <>2005-07-31 02:44:18 -0700
committerigor@rurik.mysql.com <>2005-07-31 02:44:18 -0700
commitf4c1b3bae4a28f57a2ff898db6aae8c42a257779 (patch)
treeeab125f3ab390fa8cb639cbf4604fd61911d465f /sql/item_sum.cc
parent37212c07ade4c1a2d4e46aa35ab27d417711ee6f (diff)
parentf8375c6cb37455cc1171372d998790588acf7c79 (diff)
downloadmariadb-git-f4c1b3bae4a28f57a2ff898db6aae8c42a257779.tar.gz
Merge
Diffstat (limited to 'sql/item_sum.cc')
-rw-r--r--sql/item_sum.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/item_sum.cc b/sql/item_sum.cc
index 7bd04626bbd..e26b6a75b7c 100644
--- a/sql/item_sum.cc
+++ b/sql/item_sum.cc
@@ -3037,6 +3037,7 @@ bool Item_func_group_concat::setup(THD *thd)
DBUG_RETURN(TRUE);
count_field_types(tmp_table_param,all_fields,0);
+ tmp_table_param->need_const= 1;
DBUG_ASSERT(table == 0);
/*
We have to create a temporary table to get descriptions of fields