summaryrefslogtreecommitdiff
path: root/sql/item_strfunc.cc
diff options
context:
space:
mode:
authorunknown <sanja@montyprogram.com>2014-03-13 10:38:41 +0200
committerunknown <sanja@montyprogram.com>2014-03-13 10:38:41 +0200
commit70c08df4dc6899991c29c4db3253d8e4efc4ee77 (patch)
treeae111c9dfcac2a46cc36867a1abc921af67de714 /sql/item_strfunc.cc
parent89406110796a7bea9dccd92a8e61ca30d388f94b (diff)
downloadmariadb-git-70c08df4dc6899991c29c4db3253d8e4efc4ee77.tar.gz
MDEV-5840: group_concat( column_json(dynamic_column )) return empty result
Fixed max_length of dynamic columns json/create/add functions.
Diffstat (limited to 'sql/item_strfunc.cc')
-rw-r--r--sql/item_strfunc.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/item_strfunc.cc b/sql/item_strfunc.cc
index 57af832c151..d10ed61d28a 100644
--- a/sql/item_strfunc.cc
+++ b/sql/item_strfunc.cc
@@ -4279,6 +4279,7 @@ bool Item_func_dyncol_create::fix_fields(THD *thd, Item **ref)
void Item_func_dyncol_create::fix_length_and_dec()
{
+ max_length= MAX_BLOB_WIDTH;
maybe_null= TRUE;
collation.set(&my_charset_bin);
decimals= 0;