summaryrefslogtreecommitdiff
path: root/mysql-test/t/bigint.test
diff options
context:
space:
mode:
authorunknown <kent@kent-amd64.(none)>2007-11-12 14:09:57 +0100
committerunknown <kent@kent-amd64.(none)>2007-11-12 14:09:57 +0100
commit74a744e7e116789537c5d9a882b87a4c8d480c6e (patch)
tree69be98427aecf17aee338d02fb33542cd604bbb8 /mysql-test/t/bigint.test
parent5149a98e7211252224b29e9f84e9df26ceb1e856 (diff)
parenta115d318d72358b40bb692185e7f1bbe54776b3a (diff)
downloadmariadb-git-74a744e7e116789537c5d9a882b87a4c8d480c6e.tar.gz
Merge mysql.com:/home/kent/bk/bug30069/mysql-5.0-build
into mysql.com:/home/kent/bk/bug30069/mysql-5.1-build mysql-test/r/bigint.result: Auto merged mysql-test/t/bigint.test: Auto merged strings/ctype-simple.c: Auto merged
Diffstat (limited to 'mysql-test/t/bigint.test')
-rw-r--r--mysql-test/t/bigint.test9
1 files changed, 9 insertions, 0 deletions
diff --git a/mysql-test/t/bigint.test b/mysql-test/t/bigint.test
index da10f4efa61..5a589816dcd 100644
--- a/mysql-test/t/bigint.test
+++ b/mysql-test/t/bigint.test
@@ -113,6 +113,15 @@ t2.value64=t1.value64;
drop table t1, t2;
+# Test for BUG#30069, can't handle bigint -9223372036854775808 on
+# x86_64, with some GCC versions and optimizations.
+
+create table t1 (sint64 bigint not null);
+insert into t1 values (-9223372036854775808);
+select * from t1;
+
+drop table t1;
+
# End of 4.1 tests
#