summaryrefslogtreecommitdiff
path: root/sql/item_sum.cc
diff options
context:
space:
mode:
authorbar@mysql.com <>2005-08-30 15:36:47 +0500
committerbar@mysql.com <>2005-08-30 15:36:47 +0500
commit98581508c31194b424b0fb3bbaf17b931a2a5ba0 (patch)
tree39f5a2f5f6eb0e5e4c7a1919d54084e00ba0ea67 /sql/item_sum.cc
parentd61780999b6cdd7229d715bfa52c04dcb245583a (diff)
downloadmariadb-git-98581508c31194b424b0fb3bbaf17b931a2a5ba0.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.
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;