mirror of
https://github.com/MariaDB/server.git
synced 2026-05-04 22:25:32 +02:00
MDEV-16620 JSON_ARRAYAGG and JSON_OBJECTAGG.
Ison_objectagg implemented.
This commit is contained in:
parent
b1c2c4ee1b
commit
ba8e5e689c
8 changed files with 237 additions and 16 deletions
|
|
@ -3652,14 +3652,6 @@ int dump_leaf_key(void* key_arg, element_count count __attribute__((unused)),
|
|||
if (item->limit_clause && !(*row_limit))
|
||||
return 1;
|
||||
|
||||
if (item->sum_func() == Item_sum::JSON_ARRAYAGG_FUNC &&
|
||||
item->arg_count_field > 1)
|
||||
{
|
||||
/* JSON_ARRAYAGG supports only one parameter */
|
||||
my_error(ER_WRONG_PARAMCOUNT_TO_NATIVE_FCT, MYF(0), "JSON_ARRAYAGG");
|
||||
return 1;
|
||||
}
|
||||
|
||||
if (item->no_appended)
|
||||
item->no_appended= FALSE;
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue