summaryrefslogtreecommitdiff
path: root/mysql-test/t/bigint.test
diff options
context:
space:
mode:
authorkent@kent-amd64.(none) <>2007-11-12 13:13:43 +0100
committerkent@kent-amd64.(none) <>2007-11-12 13:13:43 +0100
commitaf7d3963b251f94b16500a87909eb12f2179be3d (patch)
treec22e5948f1ce83e38801865101d4ad71a62f10f2 /mysql-test/t/bigint.test
parent339b3217ebb43aedbb5da49496401713aa15b2a8 (diff)
parent3bb7cac84b6a0f98521d3d3b334923acd758dae7 (diff)
downloadmariadb-git-af7d3963b251f94b16500a87909eb12f2179be3d.tar.gz
Merge mysql.com:/home/kent/bk/bug30069/mysql-4.1-build
into mysql.com:/home/kent/bk/bug30069/mysql-5.0-build
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
#