summaryrefslogtreecommitdiff
path: root/mysql-test/t/func_json.test
diff options
context:
space:
mode:
authorAlexey Botchkov <holyfoot@askmonty.org>2017-11-11 13:54:56 +0400
committerAlexey Botchkov <holyfoot@askmonty.org>2017-11-11 13:54:56 +0400
commit1e2d4f677e08294691a7d218acb3b9f78727ae18 (patch)
tree5e2fae3484f831e371225ae406b699041bd62b7c /mysql-test/t/func_json.test
parentdcbf2823c7d64380f06372d77d1522e97fb8f066 (diff)
downloadmariadb-git-1e2d4f677e08294691a7d218acb3b9f78727ae18.tar.gz
MDEV-13971 crash in skip_num_constant.
Character bigger than 0x60 wasn't handled properly inside a numeric constant.
Diffstat (limited to 'mysql-test/t/func_json.test')
-rw-r--r--mysql-test/t/func_json.test4
1 files changed, 4 insertions, 0 deletions
diff --git a/mysql-test/t/func_json.test b/mysql-test/t/func_json.test
index 2b865360b51..2052fad0c04 100644
--- a/mysql-test/t/func_json.test
+++ b/mysql-test/t/func_json.test
@@ -378,3 +378,7 @@ SELECT JSON_OBJECT("user","Jožko Mrkvičká") as json_data;
select json_contains_path('{"foo":"bar"}', 'one', '$[]');
+#
+# MDEV-13971 crash in skip_num_constant.
+#
+select JSON_VALID(0x36f0c8dccd83c5eac156da);