mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
MDEV-11446 JSON_MERGE accepts arguments in invalid format.
Test case added.
This commit is contained in:
@ -234,6 +234,9 @@ json_merge('{"1": 2}', '{"true": false}', '{"3": 4}')
|
||||
select json_merge(NULL,json_object('foo', 1));
|
||||
json_merge(NULL,json_object('foo', 1))
|
||||
NULL
|
||||
select json_merge('a','b');
|
||||
json_merge('a','b')
|
||||
NULL
|
||||
select json_type('{"k1":123, "k2":345}');
|
||||
json_type('{"k1":123, "k2":345}')
|
||||
OBJECT
|
||||
|
Reference in New Issue
Block a user