From: Date: May 15 2006 5:16pm Subject: bk commit into 4.1 tree (tomas:1.2474) BUG#16875 List-Archive: http://lists.mysql.com/commits/6430 X-Bug: 16875 Message-Id: <20060515151629.70D431F306C@poseidon.mysql.com> Below is the list of changes that have just been committed into a local 4.1 repository of tomas. When tomas 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.2474 06/05/15 17:16:21 tomas@stripped +1 -0 Bug #16875 , correction of previous patch mysql-test/r/ndb_autodiscover3.result 1.2 06/05/15 17:16:18 tomas@stripped +37 -1 Bug #16875 , correction of previous patch # 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: tomas # Host: poseidon.ndb.mysql.com # Root: /home/tomas/mysql-4.1 --- 1.1/mysql-test/r/ndb_autodiscover3.result 2006-05-15 16:23:54 +02:00 +++ 1.2/mysql-test/r/ndb_autodiscover3.result 2006-05-15 17:16:18 +02:00 @@ -1,4 +1,4 @@ -drop table if exists t1; +drop table if exists t1, t2; create table t1 (a int key) engine=ndbcluster; begin; insert into t1 values (1); @@ -7,3 +7,39 @@ commit; ERROR HY000: Got error 4350 'Transaction already aborted' from ndbcluster drop table t1; +create table t2 (a int, b int, primary key(a,b)) engine=ndbcluster; +insert into t2 values (1,1),(2,1),(3,1),(4,1),(5,1),(6,1),(7,1),(8,1),(9,1),(10,1); +select * from t2 order by a limit 3; +a b +1 1 +2 1 +3 1 +create table t2 (a int key) engine=ndbcluster; +insert into t2 values (1),(2),(3),(4),(5),(6),(7),(8),(9),(10); +select * from t2 order by a limit 3; +a +1 +2 +3 +select * from t2 order by a limit 3; +ERROR HY000: Can't lock file (errno: 241) +select * from t2 order by a limit 3; +a +1 +2 +3 +show tables; +Tables_in_test +create table t2 (a int key) engine=ndbcluster; +insert into t2 values (1),(2),(3),(4),(5),(6),(7),(8),(9),(10); +select * from t2 order by a limit 3; +a +1 +2 +3 +select * from t2 order by a limit 3; +a +1 +2 +3 +drop table t2;