summaryrefslogtreecommitdiff
path: root/mysql-test/r/bigint.result
diff options
context:
space:
mode:
authorunknown <cmiller@zippy.cornsilk.net>2006-11-15 12:24:21 -0500
committerunknown <cmiller@zippy.cornsilk.net>2006-11-15 12:24:21 -0500
commit011513bd4987270f35a5ba3ce1a424f8532c50b9 (patch)
tree3a1b5f89c5d0b245588f6585fc7df9641d5cf7e4 /mysql-test/r/bigint.result
parent504d8208511f95de07f0523297e9eea7647b64e3 (diff)
parent3be6493aab368e43165cd523963cf513f1588ac5 (diff)
downloadmariadb-git-011513bd4987270f35a5ba3ce1a424f8532c50b9.tar.gz
Merge zippy.cornsilk.net:/home/cmiller/work/mysql/bug19955/my50-bug19955
into zippy.cornsilk.net:/home/cmiller/work/mysql/bug19955/my51-bug19955 mysql-test/r/bigint.result: Auto merged sql/item_func.cc: Auto merged
Diffstat (limited to 'mysql-test/r/bigint.result')
-rw-r--r--mysql-test/r/bigint.result11
1 files changed, 11 insertions, 0 deletions
diff --git a/mysql-test/r/bigint.result b/mysql-test/r/bigint.result
index c27ce18cfd3..d8f78cd5103 100644
--- a/mysql-test/r/bigint.result
+++ b/mysql-test/r/bigint.result
@@ -341,3 +341,14 @@ select * from t1 where bigint_col='17666000000000000000';
bigint_col
17666000000000000000
drop table t1;
+
+bug 19955 -- mod is signed with bigint
+select cast(10000002383263201056 as unsigned) mod 50 as result;
+result
+6
+create table t1 (c1 bigint unsigned);
+insert into t1 values (10000002383263201056);
+select c1 mod 50 as result from t1;
+result
+6
+drop table t1;