diff options
Diffstat (limited to 'mysql-test/main/type_int.test')
-rw-r--r-- | mysql-test/main/type_int.test | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/mysql-test/main/type_int.test b/mysql-test/main/type_int.test index e54726b8720..6191a72fc25 100644 --- a/mysql-test/main/type_int.test +++ b/mysql-test/main/type_int.test @@ -340,5 +340,16 @@ CALL p1('bigint(30) unsigned'); DROP PROCEDURE p1; --echo # +--echo # MDEV-23368 ROUND(18446744073709551615,-11) returns a wrong result +--echo # + +SELECT ROUND(18446744073709551615,-10), ROUND(18446744073709551615,-11); +CREATE TABLE t1 AS SELECT ROUND(18446744073709551615,-10), ROUND(18446744073709551615,-11); +SHOW CREATE TABLE t1; +SELECT * FROM t1; +DROP TABLE t1; + + +--echo # --echo # End of 10.4 tests --echo # |