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

MDEV-11447 JSON_MERGE merges valid JSON objects incorrectly.

Test case added.
This commit is contained in:
Alexey Botchkov
2016-12-06 01:39:06 +04:00
parent fba1eab92f
commit 3371904380
2 changed files with 4 additions and 0 deletions

View File

@ -237,6 +237,9 @@ NULL
select json_merge('a','b');
json_merge('a','b')
NULL
select json_merge('{"a":"b"}','{"c":"d"}');
json_merge('{"a":"b"}','{"c":"d"}')
{"a":"b", "c":"d"}
select json_type('{"k1":123, "k2":345}');
json_type('{"k1":123, "k2":345}')
OBJECT