diff options
author | Alexey Botchkov <holyfoot@askmonty.org> | 2017-03-14 17:31:14 +0400 |
---|---|---|
committer | Alexey Botchkov <holyfoot@askmonty.org> | 2017-03-14 17:31:14 +0400 |
commit | af6eee1fc5c40c73edb65c08d16929ccfdc1f5f0 (patch) | |
tree | ba3597232b6c1b9f3a3c2508ff38c0cff6209c93 /sql/item_jsonfunc.h | |
parent | d0e8b427a1877392f3b90e00f2c7606608bac996 (diff) | |
download | mariadb-git-af6eee1fc5c40c73edb65c08d16929ccfdc1f5f0.tar.gz |
MDEV-11833 JSON functions don't seem to respect max_allowed_packet.
Now let's check JSON length to fit the max_allowed packet.
Diffstat (limited to 'sql/item_jsonfunc.h')
-rw-r--r-- | sql/item_jsonfunc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/item_jsonfunc.h b/sql/item_jsonfunc.h index ac78ed932d5..394ed5f189a 100644 --- a/sql/item_jsonfunc.h +++ b/sql/item_jsonfunc.h @@ -216,6 +216,7 @@ class Item_func_json_array: public Item_str_func { protected: String tmp_val; + ulong result_limit; public: Item_func_json_array(THD *thd): Item_str_func(thd) {} |