summaryrefslogtreecommitdiff
path: root/mysql-test/t/bigint.test
diff options
context:
space:
mode:
authorunknown <kent@kent-amd64.(none)>2007-11-12 13:13:43 +0100
committerunknown <kent@kent-amd64.(none)>2007-11-12 13:13:43 +0100
commitfc71ff899ba5247655bb9a03867e44ee13460f3e (patch)
treec22e5948f1ce83e38801865101d4ad71a62f10f2 /mysql-test/t/bigint.test
parent836398b98e73256bef89d50edd6bef14f25735c6 (diff)
parent568f624406fb6771f5815bbe6184de6909270488 (diff)
downloadmariadb-git-fc71ff899ba5247655bb9a03867e44ee13460f3e.tar.gz
Merge mysql.com:/home/kent/bk/bug30069/mysql-4.1-build
into mysql.com:/home/kent/bk/bug30069/mysql-5.0-build mysql-test/t/bigint.test: Auto merged strings/ctype-simple.c: Auto merged mysql-test/r/bigint.result: SCCS 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 002dfad9981..f96350686af 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
#