mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
MDEV-11439 No data type JSON, but CAST(something AS JSON) pretends to work
remove CAST(... AS JSON) from the grammar for 10.2.4
This commit is contained in:
@ -161,10 +161,10 @@ select json_unquote('abc');
|
||||
|
||||
select json_object("a", json_object("b", "abcd"));
|
||||
select json_object("a", '{"b": "abcd"}');
|
||||
select json_object("a", cast('{"b": "abcd"}' as json));
|
||||
#select json_object("a", cast('{"b": "abcd"}' as json));
|
||||
|
||||
select cast(NULL AS JSON);
|
||||
select json_depth(cast(NULL as JSON));
|
||||
#select cast(NULL AS JSON);
|
||||
#select json_depth(cast(NULL as JSON));
|
||||
select json_depth('[[], {}]');
|
||||
select json_depth('[[[1,2,3],"s"], {}, []]');
|
||||
select json_depth('[10, {"a": 20}]');
|
||||
|
Reference in New Issue
Block a user