diff options
author | Alexey Botchkov <holyfoot@askmonty.org> | 2020-06-15 22:51:21 +0400 |
---|---|---|
committer | Alexey Botchkov <holyfoot@askmonty.org> | 2020-06-15 22:51:21 +0400 |
commit | 6c573a9146caa76807db1190e0747f5befb5b170 (patch) | |
tree | a304df0f89fa87736623df6c313ff45fe093b526 /sql/item_sum.h | |
parent | 30d41c8102c36af7551b3ae77e48efbeb6d7ecea (diff) | |
download | mariadb-git-6c573a9146caa76807db1190e0747f5befb5b170.tar.gz |
MDEV-22844 JSON_ARRAYAGG is limited by group_concat_max_len.
Warning message and function result fixed
Diffstat (limited to 'sql/item_sum.h')
-rw-r--r-- | sql/item_sum.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/item_sum.h b/sql/item_sum.h index 118b5b958f3..dc520ce2578 100644 --- a/sql/item_sum.h +++ b/sql/item_sum.h @@ -1941,6 +1941,8 @@ protected: virtual String *get_str_from_field(Item *i, Field *f, String *tmp, const uchar *key, size_t offset) { return f->val_str(tmp, key + offset); } + virtual void cut_max_length(String *result, + uint old_length, uint max_length) const; public: // Methods used by ColumnStore bool get_distinct() const { return distinct; } |