1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

MDEV-15561 json_extract returns NULL with numbers in scientific notation.

Scientific notation handling fixed.
This commit is contained in:
Alexey Botchkov
2018-03-25 00:15:11 +04:00
parent 7003067a09
commit d702e46390
4 changed files with 21 additions and 32 deletions

View File

@ -392,3 +392,9 @@ insert into t1 values (2),(1);
select 1 from t1 where json_extract(a,'$','$[81]');
drop table t1;
#
# MDEV-15561 json_extract returns NULL with numbers in scientific notation.
#
select json_extract('{"test":8.437e-5}','$.test');