summaryrefslogtreecommitdiff
path: root/sql/item_strfunc.h
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.h
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.h')
-rw-r--r--sql/item_strfunc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/item_strfunc.h b/sql/item_strfunc.h
index 7b2591e9346..7b062ad64c6 100644
--- a/sql/item_strfunc.h
+++ b/sql/item_strfunc.h
@@ -1174,6 +1174,7 @@ public:
String *val_str(String *);
void fix_length_and_dec()
{
+ max_length= MAX_BLOB_WIDTH;
maybe_null= 1;
collation.set(&my_charset_bin);
decimals= 0;