diff options
author | unknown <ram@gw.mysql.r18.ru> | 2004-10-21 19:52:55 +0500 |
---|---|---|
committer | unknown <ram@gw.mysql.r18.ru> | 2004-10-21 19:52:55 +0500 |
commit | 315b7d89eb4817d9f60cb7d2496a979af3ef26f0 (patch) | |
tree | 16440e561cf6e37c0650a9287e6f686ad1b2db64 /mysql-test/r/func_test.result | |
parent | 0da47eae2491b53af11f0e06226de3d0052fc28a (diff) | |
download | mariadb-git-315b7d89eb4817d9f60cb7d2496a979af3ef26f0.tar.gz |
A fix (bug #6138: MOD operator should not round non-integral argument).
Diffstat (limited to 'mysql-test/r/func_test.result')
-rw-r--r-- | mysql-test/r/func_test.result | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/mysql-test/r/func_test.result b/mysql-test/r/func_test.result index c3fe1de15db..8a28312b348 100644 --- a/mysql-test/r/func_test.result +++ b/mysql-test/r/func_test.result @@ -174,3 +174,12 @@ SELECT GREATEST(d,d) FROM t1 WHERE k=2; GREATEST(d,d) NULL DROP TABLE t1; +select 1197.90 mod 50; +1197.90 mod 50 +47.90 +select 5.1 mod 3, 5.1 mod -3, -5.1 mod 3, -5.1 mod -3; +5.1 mod 3 5.1 mod -3 -5.1 mod 3 -5.1 mod -3 +2.1 2.1 -2.1 -2.1 +select 5 mod 3, 5 mod -3, -5 mod 3, -5 mod -3; +5 mod 3 5 mod -3 -5 mod 3 -5 mod -3 +2 2 -2 -2 |