mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
MDEV-21914 JSON_ARRAYAGG doesn't reject ORDER BY clause, but doesn't work either.
ORDER BY fixed for JSON_ARRAYAGG.
This commit is contained in:
@ -1240,6 +1240,9 @@ select * from v;
|
||||
JSON_DATA
|
||||
[{"type": "permPeriod", "id": "asd"}]
|
||||
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]
|
||||
#
|
||||
# End of 10.5 tests
|
||||
#
|
||||
|
Reference in New Issue
Block a user