1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +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

@ -736,3 +736,6 @@ insert into t1 values (2),(1);
select 1 from t1 where json_extract(a,'$','$[81]');
1
drop table t1;
select json_extract('{"test":8.437e-5}','$.test');
json_extract('{"test":8.437e-5}','$.test')
8.437e-5