1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

MDEV-21915 Server crashes in copy_fields,Item_func_group_concat::add …

…while using json_arrayagg() as a window function.

We don't support JSON_ARRAYAGG and JSON_OBJECTAGG in window functions
yet.
This commit is contained in:
Alexey Botchkov
2020-04-29 10:35:49 +04:00
parent 2e6b21be4a
commit ffc5e00e9c
5 changed files with 38 additions and 2 deletions

View File

@@ -579,7 +579,7 @@ public:
bool is_json_type() { return true; }
void cleanup();
enum Sumfunctype sum_func () const {return GROUP_CONCAT_FUNC;}
enum Sumfunctype sum_func () const {return JSON_OBJECTAGG_FUNC;}
const char *func_name() const { return "json_objectagg("; }
const Type_handler *type_handler() const
{