1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

MDEV-13104 Json functions.

An extra ',' added to the JSON_MERGE result making it invalid.
This commit is contained in:
Alexey Botchkov
2017-09-12 15:21:53 +04:00
parent 467acc2119
commit 0cd731864e
3 changed files with 22 additions and 3 deletions

View File

@ -683,3 +683,6 @@ JSON_OBJECT("foo", "bar`bar")
SELECT JSON_SET('{}', '$.age', 87);
JSON_SET('{}', '$.age', 87)
{"age": 87}
SELECT JSON_MERGE('[]', '{"c":"d"}');
JSON_MERGE('[]', '{"c":"d"}')
[{"c": "d"}]