mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +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:
@ -2936,6 +2936,14 @@ bool Window_func_runner::add_function_to_run(Item_window_func *win_func)
|
||||
my_error(ER_NOT_SUPPORTED_YET, MYF(0),
|
||||
"COUNT(DISTINCT) aggregate as window function");
|
||||
return true;
|
||||
case Item_sum::JSON_ARRAYAGG_FUNC:
|
||||
my_error(ER_NOT_SUPPORTED_YET, MYF(0),
|
||||
"JSON_ARRAYAGG() aggregate as window function");
|
||||
return true;
|
||||
case Item_sum::JSON_OBJECTAGG_FUNC:
|
||||
my_error(ER_NOT_SUPPORTED_YET, MYF(0),
|
||||
"JSON_OBJECTAGG() aggregate as window function");
|
||||
return true;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user