mirror of
https://github.com/MariaDB/server.git
synced 2025-09-02 09:41:40 +03:00
MDEV-15561 json_extract returns NULL with numbers in scientific notation.
Scientific notation handling fixed. Conflicts: mysql-test/r/func_json.result mysql-test/t/func_json.test
This commit is contained in:
@@ -391,6 +391,12 @@ 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');
|
||||
|
||||
--echo #
|
||||
--echo # Start of 10.3 tests
|
||||
--echo #
|
||||
|
Reference in New Issue
Block a user