mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
MDEV-11572 JSON_DEPTH returns wrong results.
JSON depth calculation fixed.
This commit is contained in:
@ -405,6 +405,9 @@ json_depth('[[], {}]')
|
||||
select json_depth('[[[1,2,3],"s"], {}, []]');
|
||||
json_depth('[[[1,2,3],"s"], {}, []]')
|
||||
4
|
||||
select json_depth('[10, {"a": 20}]');
|
||||
json_depth('[10, {"a": 20}]')
|
||||
3
|
||||
select json_length('');
|
||||
json_length('')
|
||||
NULL
|
||||
|
Reference in New Issue
Block a user