mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Merge remote-tracking branch 'origin/11.4' into 11.5
This commit is contained in:
@ -1735,6 +1735,17 @@ SELECT JSON_REMOVE('{"A": { "B": 1 }}', '$.A.B.C.D');
|
||||
JSON_REMOVE('{"A": { "B": 1 }}', '$.A.B.C.D')
|
||||
{"A": {"B": 1}}
|
||||
#
|
||||
# MDEV-34143: Server crashes when executing JSON_EXTRACT after setting non-default collation_connection
|
||||
#
|
||||
SET @save_collation_connection= @@collation_connection;
|
||||
SET collation_connection='utf16_bin';
|
||||
SELECT JSON_EXTRACT('{"a": 1,"b": 2}','$.a');
|
||||
JSON_EXTRACT('{"a": 1,"b": 2}','$.a')
|
||||
NULL
|
||||
Warnings:
|
||||
Warning 4036 Character disallowed in JSON in argument 1 to function 'json_extract' at position 2
|
||||
SET @@collation_connection= @save_collation_connection;
|
||||
#
|
||||
# End of 10.5 tests
|
||||
#
|
||||
#
|
||||
|
Reference in New Issue
Block a user