mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
MDEV-13992 Implement JSON_MERGE_PATCH.
JSON_MERGE_PATCH implemented. Added JSON_MERGE_PRESERVE as a synonim for the JSON_MERGE.
This commit is contained in:
@ -821,13 +821,13 @@ select json_merge( '[1, 2]', '[3, 4' );
|
||||
json_merge( '[1, 2]', '[3, 4' )
|
||||
NULL
|
||||
Warnings:
|
||||
Warning 4037 Unexpected end of JSON text in argument 2 to function 'json_merge'
|
||||
Warning 4037 Unexpected end of JSON text in argument 2 to function 'json_merge_preserve'
|
||||
error ER_INVALID_JSON_TEXT_IN_PARAM
|
||||
select json_merge( '[1, 2', '[3, 4]' );
|
||||
json_merge( '[1, 2', '[3, 4]' )
|
||||
NULL
|
||||
Warnings:
|
||||
Warning 4037 Unexpected end of JSON text in argument 1 to function 'json_merge'
|
||||
Warning 4037 Unexpected end of JSON text in argument 1 to function 'json_merge_preserve'
|
||||
select json_merge( '1', '2' );
|
||||
json_merge( '1', '2' )
|
||||
[1, 2]
|
||||
|
Reference in New Issue
Block a user