diff options
author | Georgi Kodinov <Georgi.Kodinov@Oracle.com> | 2010-11-26 16:32:51 +0200 |
---|---|---|
committer | Georgi Kodinov <Georgi.Kodinov@Oracle.com> | 2010-11-26 16:32:51 +0200 |
commit | 6fe1b33f201e1855f8b85dd9c5316b61d00b8021 (patch) | |
tree | 74a1415aa93abdbe676036e4386aadf2b13ea031 /mysql-test/t/func_math.test | |
parent | ce441751ed12a80aed10b8e5d718dac34d4c68b7 (diff) | |
parent | db8bd7beb83e513870b16ea95381018a48a4079d (diff) | |
download | mariadb-git-6fe1b33f201e1855f8b85dd9c5316b61d00b8021.tar.gz |
merge
Diffstat (limited to 'mysql-test/t/func_math.test')
-rw-r--r-- | mysql-test/t/func_math.test | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/mysql-test/t/func_math.test b/mysql-test/t/func_math.test index 5d5dea74e28..7f9ed6d8a93 100644 --- a/mysql-test/t/func_math.test +++ b/mysql-test/t/func_math.test @@ -316,6 +316,14 @@ SELECT RAND(i) FROM t1; DROP TABLE t1; --echo # +--echo # Bug#57477 SIGFPE when dividing a huge number a negative number +--echo # +--error ER_DATA_OUT_OF_RANGE +SELECT -9999999999999999991 DIV -1; +--error ER_DATA_OUT_OF_RANGE +SELECT -9223372036854775808 DIV -1; +SELECT -9223372036854775808 MOD -1; +SELECT -9223372036854775808999 MOD -1; # # Bug #8457: Precision math: |