diff options
Diffstat (limited to 'mysql-test/main/type_float.test')
-rw-r--r-- | mysql-test/main/type_float.test | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/mysql-test/main/type_float.test b/mysql-test/main/type_float.test index 5d7f7de7d0b..3f9781e6224 100644 --- a/mysql-test/main/type_float.test +++ b/mysql-test/main/type_float.test @@ -670,6 +670,16 @@ SELECT * FROM t1; DELETE FROM t1 WHERE a=CAST(0.671437 AS FLOAT); DROP TABLE t1; +--echo # +--echo # MDEV-29473 UBSAN: Signed integer overflow: X * Y cannot be represented in type 'int' in strings/dtoa.c +--echo # + +# This test was failing with UBSAN builds + +CREATE TABLE t1 (c DOUBLE); +--error ER_WARN_DATA_OUT_OF_RANGE +INSERT INTO t1 VALUES ('1e4294967297'); +DROP TABLE t1; --echo # --echo # End of 10.3 tests |