1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

MDEV-18150 Assertion `decimals_to_set <= 38' failed in Item_func_round::fix_length_and_dec_decimal

This commit is contained in:
Alexander Barkov
2019-01-10 16:08:26 +04:00
parent 2ffa11e33e
commit 82490a97db
5 changed files with 40 additions and 25 deletions

View File

@ -919,6 +919,14 @@ DROP TABLE t1, t2;
SET sql_mode=DEFAULT;
--echo #
--echo # MDEV-18150 Assertion `decimals_to_set <= 38' failed in Item_func_round::fix_length_and_dec_decimal
--echo #
CREATE TABLE t1 (i INT(23));
SELECT ROUND( i, 18446744073709551594 ) AS f FROM t1;
DROP TABLE t1;
--echo #
--echo # End of 10.3 tests
--echo #