From a42772092382d9a5e96bf1b88f7513ccc0b0d7e4 Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 12 Nov 2007 12:52:03 +0100 Subject: bigint.test, bigint.result: Test case for Bug#30069 mysql-test/r/bigint.result: Test case for Bug#30069 mysql-test/t/bigint.test: Test case for Bug#30069 --- mysql-test/t/bigint.test | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'mysql-test/t/bigint.test') diff --git a/mysql-test/t/bigint.test b/mysql-test/t/bigint.test index 8a238d33e08..e5cd70209ea 100644 --- a/mysql-test/t/bigint.test +++ b/mysql-test/t/bigint.test @@ -107,4 +107,13 @@ 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 -- cgit v1.2.1