diff options
author | Alexander Barkov <bar@mariadb.com> | 2019-01-10 16:08:26 +0400 |
---|---|---|
committer | Alexander Barkov <bar@mariadb.com> | 2019-01-10 16:08:26 +0400 |
commit | 82490a97dbbe1dfdf88ed6b9fee8974cf58c63e3 (patch) | |
tree | 31229cf9003c2266de0652bfe3813817c72f430f /mysql-test/main/func_math.result | |
parent | 2ffa11e33e018fad58c1df4cb1bdb0642ef0f8fd (diff) | |
download | mariadb-git-82490a97dbbe1dfdf88ed6b9fee8974cf58c63e3.tar.gz |
MDEV-18150 Assertion `decimals_to_set <= 38' failed in Item_func_round::fix_length_and_dec_decimal
Diffstat (limited to 'mysql-test/main/func_math.result')
-rw-r--r-- | mysql-test/main/func_math.result | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/mysql-test/main/func_math.result b/mysql-test/main/func_math.result index eafee43e2a2..251979dba03 100644 --- a/mysql-test/main/func_math.result +++ b/mysql-test/main/func_math.result @@ -1316,5 +1316,12 @@ t2 CREATE TABLE `t2` ( DROP TABLE t1, t2; SET sql_mode=DEFAULT; # +# MDEV-18150 Assertion `decimals_to_set <= 38' failed in Item_func_round::fix_length_and_dec_decimal +# +CREATE TABLE t1 (i INT(23)); +SELECT ROUND( i, 18446744073709551594 ) AS f FROM t1; +f +DROP TABLE t1; +# # End of 10.3 tests # |