diff options
author | Alexey Botchkov <holyfoot@askmonty.org> | 2016-12-16 14:06:12 +0400 |
---|---|---|
committer | Alexey Botchkov <holyfoot@askmonty.org> | 2016-12-16 14:06:12 +0400 |
commit | ce55094f4fee3c0ff2c58ac4dd3ef2c16c5e20c3 (patch) | |
tree | cb620419c3911e9ca671e2ba24ba6b795cd454da /mysql-test/r | |
parent | 30c231b03a270d3056d2e0da6e263ac10091567b (diff) | |
download | mariadb-git-ce55094f4fee3c0ff2c58ac4dd3ef2c16c5e20c3.tar.gz |
MDEV-11572 JSON_DEPTH returns wrong results.
JSON depth calculation fixed.
Diffstat (limited to 'mysql-test/r')
-rw-r--r-- | mysql-test/r/func_json.result | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mysql-test/r/func_json.result b/mysql-test/r/func_json.result index 8ce3ccb876f..a704274a112 100644 --- a/mysql-test/r/func_json.result +++ b/mysql-test/r/func_json.result @@ -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 |