summaryrefslogtreecommitdiff
path: root/mysql-test/t/bigint.test
diff options
context:
space:
mode:
authorholyfoot/hf@hfmain.(none) <>2007-05-16 23:01:21 +0500
committerholyfoot/hf@hfmain.(none) <>2007-05-16 23:01:21 +0500
commitcd4fbe116edd8d1d0634f4b96e5e0143b3dd97dd (patch)
tree17df03511ee07061a062ea2c79293477f35cf0bc /mysql-test/t/bigint.test
parent353eac9557563cc01f2e306ce178d096fd4f2bbe (diff)
parentbb089cea3852546e37d6a241b35f9223759b88c1 (diff)
downloadmariadb-git-cd4fbe116edd8d1d0634f4b96e5e0143b3dd97dd.tar.gz
Merge mysql.com:/home/hf/work/8663/my50-8663
into mysql.com:/home/hf/work/8663/my51-8663
Diffstat (limited to 'mysql-test/t/bigint.test')
-rw-r--r--mysql-test/t/bigint.test7
1 files changed, 7 insertions, 0 deletions
diff --git a/mysql-test/t/bigint.test b/mysql-test/t/bigint.test
index c2c6f895545..52f34e58e97 100644
--- a/mysql-test/t/bigint.test
+++ b/mysql-test/t/bigint.test
@@ -288,6 +288,13 @@ insert into t1 values (10000002383263201056);
select c1 mod 50 as result from t1;
drop table t1;
+#
+# Bug #8663 cant use bgint unsigned as input to cast
+#
+
+select cast(19999999999999999999 as signed);
+select cast(-19999999999999999999 as signed);
+
# Bug #28005 Partitions: can't use -9223372036854775808
create table t1 select -9223372036854775808 bi;
describe t1;