diff options
author | unknown <mskold/marty@mysql.com/linux.site> | 2006-11-15 12:05:05 +0100 |
---|---|---|
committer | unknown <mskold/marty@mysql.com/linux.site> | 2006-11-15 12:05:05 +0100 |
commit | b846af899d57aed220ac552e0218520a40b9bd46 (patch) | |
tree | c4b414b096437ef907212ac4ff058f4467d8db04 /mysql-test/t/ndb_basic.test | |
parent | 497e7c3ac1e6f19e822cdcc60b765883a8253d8e (diff) | |
download | mariadb-git-b846af899d57aed220ac552e0218520a40b9bd46.tar.gz |
bug #24301 Next command hangs in mysql after creating new NDB table via LIKE operation.: Locked mutex LOCK_open during operation
Diffstat (limited to 'mysql-test/t/ndb_basic.test')
-rw-r--r-- | mysql-test/t/ndb_basic.test | 9 |
1 files changed, 9 insertions, 0 deletions
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 |