From: Date: September 27 2005 3:26pm Subject: bk commit into 4.0 tree (ingo:1.2156) BUG#9112 List-Archive: http://lists.mysql.com/internals/30377 X-Bug: 9112 Message-Id: Below is the list of changes that have just been committed into a local 4.0 repository of mydev. When mydev 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 1.2156 05/09/27 15:26:16 ingo@stripped +2 -0 Bug#9112 - Merge table with composite index producing invalid results with some queries Reduced the precision of the test numbers. Not all platforms could reproduce the exact numbers. mysql-test/t/merge.test 1.24 05/09/27 15:26:14 ingo@stripped +4 -4 Bug#9112 - Merge table with composite index producing invalid results with some queries Reduced the precision of the test numbers. Not all platforms could reproduce the exact numbers. mysql-test/r/merge.result 1.26 05/09/27 15:26:14 ingo@stripped +6 -6 Bug#9112 - Merge table with composite index producing invalid results with some queries The new test result # This is a BitKeeper patch. What follows are the unified diffs for the # set of deltas contained in the patch. The rest of the patch, the part # that BitKeeper cares about, is below these diffs. # User: ingo # Host: chilla.local # Root: /home/mydev/mysql-4.0-4000 --- 1.25/mysql-test/r/merge.result 2005-09-23 10:15:08 +02:00 +++ 1.26/mysql-test/r/merge.result 2005-09-27 15:26:14 +02:00 @@ -620,28 +620,28 @@ INSERT TABLE 't2' isn't allowed in FROM table list drop table t1, t2; create table t1 ( -a double(16,6), +a double(14,4), b varchar(10), index (a,b) ) engine=merge union=(t2,t3); create table t2 ( -a double(16,6), +a double(14,4), b varchar(10), index (a,b) ) engine=myisam; create table t3 ( -a double(16,6), +a double(14,4), b varchar(10), index (a,b) ) engine=myisam; insert into t2 values ( null, ''); -insert into t2 values ( 9999999999.999999, ''); +insert into t2 values ( 9999999999.9999, ''); insert into t3 select * from t2; select min(a), max(a) from t1; min(a) max(a) -9999999999.999998 9999999999.999998 +9999999999.9999 9999999999.9999 flush tables; select min(a), max(a) from t1; min(a) max(a) -9999999999.999998 9999999999.999998 +9999999999.9999 9999999999.9999 drop table t1, t2, t3; --- 1.23/mysql-test/t/merge.test 2005-09-23 10:15:08 +02:00 +++ 1.24/mysql-test/t/merge.test 2005-09-27 15:26:14 +02:00 @@ -273,25 +273,25 @@ # non-debug build. But there is no guarantee that this will be always so. # create table t1 ( - a double(16,6), + a double(14,4), b varchar(10), index (a,b) ) engine=merge union=(t2,t3); create table t2 ( - a double(16,6), + a double(14,4), b varchar(10), index (a,b) ) engine=myisam; create table t3 ( - a double(16,6), + a double(14,4), b varchar(10), index (a,b) ) engine=myisam; insert into t2 values ( null, ''); -insert into t2 values ( 9999999999.999999, ''); +insert into t2 values ( 9999999999.9999, ''); insert into t3 select * from t2; select min(a), max(a) from t1; flush tables;