From: Date: November 12 2007 12:52pm Subject: bk commit into 4.1 tree (kent:1.2686) BUG#30069 List-Archive: http://lists.mysql.com/commits/37570 X-Bug: 30069 Message-Id: <20071112115206.03B6DCB811A@kent-amd64.localdomain> Below is the list of changes that have just been committed into a local 4.1 repository of kent. When kent does a push these changes will be propagated to the main repository and, within 24 hours after the push, to the public repository. For information on how to access the public repository see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html ChangeSet@stripped, 2007-11-12 12:52:03+01:00, kent@stripped +2 -0 bigint.test, bigint.result: Test case for Bug#30069 mysql-test/r/bigint.result@stripped, 2007-11-12 12:51:40+01:00, kent@stripped +6 -0 Test case for Bug#30069 mysql-test/t/bigint.test@stripped, 2007-11-12 12:51:40+01:00, kent@stripped +9 -0 Test case for Bug#30069 diff -Nrup a/mysql-test/r/bigint.result b/mysql-test/r/bigint.result --- a/mysql-test/r/bigint.result 2005-08-08 12:18:11 +02:00 +++ b/mysql-test/r/bigint.result 2007-11-12 12:51:40 +01:00 @@ -135,3 +135,9 @@ t2.value64=t1.value64; value64 value32 value64 value32 9223372036854775807 2 9223372036854775807 4 drop table t1, t2; +create table t1 (sint64 bigint not null); +insert into t1 values (-9223372036854775808); +select * from t1; +sint64 +-9223372036854775808 +drop table t1; diff -Nrup a/mysql-test/t/bigint.test b/mysql-test/t/bigint.test --- a/mysql-test/t/bigint.test 2005-08-08 12:18:11 +02:00 +++ b/mysql-test/t/bigint.test 2007-11-12 12:51:40 +01:00 @@ -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