1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

MDEV-11833 JSON functions don't seem to respect max_allowed_packet.

Now let's check JSON length to fit the max_allowed packet.
This commit is contained in:
Alexey Botchkov
2017-03-14 17:31:14 +04:00
parent d0e8b427a1
commit af6eee1fc5
4 changed files with 63 additions and 2 deletions

View File

@ -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) {}