summaryrefslogtreecommitdiff
path: root/sql/item_sum.cc
diff options
context:
space:
mode:
authorunknown <bar@mysql.com>2005-08-30 15:36:47 +0500
committerunknown <bar@mysql.com>2005-08-30 15:36:47 +0500
commit51bf44ce04ecfdeb746549be4c01f260cafc89ce (patch)
tree39f5a2f5f6eb0e5e4c7a1919d54084e00ba0ea67 /sql/item_sum.cc
parentf650a21e47d814fae4ed41565210f391736fcdc0 (diff)
downloadmariadb-git-51bf44ce04ecfdeb746549be4c01f260cafc89ce.tar.gz
Bug #12829
Cannot convert the charset of a GROUP_CONCAT result: item_sum.cc: "result" character set was not set into proper value. func_gconcat.result, func_gconcat.test: Fixing tests accordingly. sql/item_sum.cc: Bug #12829 Cannot convert the charset of a GROUP_CONCAT result: "result" character set was not set into proper value. mysql-test/t/func_gconcat.test: Bug #12829 mysql-test/r/func_gconcat.result: Bug #12829
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 74a7fee113e..cb4107c4276 100644
--- a/sql/item_sum.cc
+++ b/sql/item_sum.cc
@@ -1937,6 +1937,7 @@ Item_func_group_concat::fix_fields(THD *thd, TABLE_LIST *tables, Item **ref)
args, arg_count, MY_COLL_ALLOW_CONV))
return 1;
+ result.set_charset(collation.collation);
result_field= 0;
null_value= 1;
max_length= group_concat_max_len;