mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
MDEV-11474 JSON_DEPTH returns incorrect results.
Item_func_json_depth::val_int fixed.
This commit is contained in:
@ -123,4 +123,6 @@ select json_object("a", cast('{"b": "abcd"}' as json));
|
||||
|
||||
select cast(NULL AS JSON);
|
||||
select json_depth(cast(NULL as JSON));
|
||||
select json_depth('[[], {}]');
|
||||
select json_depth('[[[1,2,3],"s"], {}, []]');
|
||||
|
||||
|
Reference in New Issue
Block a user