From b846af899d57aed220ac552e0218520a40b9bd46 Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 15 Nov 2006 12:05:05 +0100 Subject: bug #24301 Next command hangs in mysql after creating new NDB table via LIKE operation.: Locked mutex LOCK_open during operation --- mysql-test/t/ndb_basic.test | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'mysql-test/t/ndb_basic.test') diff --git a/mysql-test/t/ndb_basic.test b/mysql-test/t/ndb_basic.test index bbe5d263e36..3348a94c044 100644 --- a/mysql-test/t/ndb_basic.test +++ b/mysql-test/t/ndb_basic.test @@ -738,4 +738,13 @@ CREATE TABLE t2(a VARCHAR(255) NOT NULL, CONSTRAINT fk_a FOREIGN KEY(a) REFERENCES t1(a))engine=ndb; drop table t1, t2; +# bug#24301 +create table t1 (a int not null primary key, b int) engine=ndb; +insert into t1 values(1,1),(2,2),(3,3); +create table t2 like t1; +insert into t2 select * from t1; +select * from t1 order by a; +select * from t2 order by a; +drop table t1, t2; + --echo End of 5.1 tests -- cgit v1.2.1