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:
@ -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
|
||||
|
Reference in New Issue
Block a user