diff options
author | Alexander Barkov <bar@mariadb.com> | 2021-02-05 19:50:05 +0400 |
---|---|---|
committer | Alexander Barkov <bar@mariadb.com> | 2021-02-08 16:19:45 +0400 |
commit | afc5bac49d48b6fd13def25409642104b988de28 (patch) | |
tree | 8fce436ad2cd41c073a89647d01162c57a108281 /storage/tokudb | |
parent | 739abf5195765914fad6f759f4b08e2a09a6006a (diff) | |
download | mariadb-git-afc5bac49d48b6fd13def25409642104b988de28.tar.gz |
MDEV-24790 CAST('0e1111111111' AS DECIMAL(38,0)) returns a wrong result
Diffstat (limited to 'storage/tokudb')
-rw-r--r-- | storage/tokudb/mysql-test/tokudb/r/type_decimal.result | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/storage/tokudb/mysql-test/tokudb/r/type_decimal.result b/storage/tokudb/mysql-test/tokudb/r/type_decimal.result index 3b82bbcef4f..c01edef283e 100644 --- a/storage/tokudb/mysql-test/tokudb/r/type_decimal.result +++ b/storage/tokudb/mysql-test/tokudb/r/type_decimal.result @@ -177,9 +177,8 @@ Note 1265 Data truncated for column 'a' at row 2 insert into t1 values ("1e+18446744073709551615"),("1e+18446744073709551616"),("1e-9223372036854775807"),("1e-9223372036854775809"); Warnings: Warning 1264 Out of range value for column 'a' at row 1 -Warning 1366 Incorrect decimal value: '1e+18446744073709551616' for column `test`.`t1`.`a` at row 2 +Warning 1264 Out of range value for column 'a' at row 2 Note 1265 Data truncated for column 'a' at row 3 -Warning 1366 Incorrect decimal value: '1e-9223372036854775809' for column `test`.`t1`.`a` at row 4 insert into t1 values ("123.4e"),("123.4e+2"),("123.4e-2"),("123e1"),("123e+0"); Warnings: Warning 1265 Data truncated for column 'a' at row 1 @@ -210,7 +209,7 @@ a 99999999.99 0.00 99999999.99 -0.00 +99999999.99 0.00 0.00 123.40 |