mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
MDEV-21902 Nested JSON_ARRAYAGG in JSON_OBJECT should not get escaped.
This commit is contained in:
@ -1243,6 +1243,9 @@ drop view v;
|
||||
select json_arrayagg(a order by a asc) from (select 1 a union select 2 a) t;
|
||||
json_arrayagg(a order by a asc)
|
||||
[1,2]
|
||||
select json_object('x', json_arrayagg(json_object('a', 1)));
|
||||
json_object('x', json_arrayagg(json_object('a', 1)))
|
||||
{"x": [{"a": 1}]}
|
||||
#
|
||||
# End of 10.5 tests
|
||||
#
|
||||
|
Reference in New Issue
Block a user