diff options
author | monty@mysql.com/narttu.mysql.fi <> | 2007-06-20 19:22:27 +0300 |
---|---|---|
committer | monty@mysql.com/narttu.mysql.fi <> | 2007-06-20 19:22:27 +0300 |
commit | 9a5908316367080a3c41043f2657a056fb5ad165 (patch) | |
tree | d39033b4d7c982ed0f9793c4c42491e929ba19bd /mysql-test/t/innodb_mysql.test | |
parent | d2fe24d1ef367483ff6cf775f9f151734933bf32 (diff) | |
download | mariadb-git-9a5908316367080a3c41043f2657a056fb5ad165.tar.gz |
Allow multiple calls to mysql_server_end()
(Part of fix for Bug#25621 Error in my_thread_global_end(): 1 threads didn't exit)
Give correct error message if InnoDB table is not found
(This allows us to drop a an innodb table that is not in the InnoDB registery)
Diffstat (limited to 'mysql-test/t/innodb_mysql.test')
-rw-r--r-- | mysql-test/t/innodb_mysql.test | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/mysql-test/t/innodb_mysql.test b/mysql-test/t/innodb_mysql.test index e6d94fe1627..578a81f355e 100644 --- a/mysql-test/t/innodb_mysql.test +++ b/mysql-test/t/innodb_mysql.test @@ -605,4 +605,18 @@ alter table t1 comment '123'; show create table t1; drop table t1; +# +# Test bug when trying to drop data file which no InnoDB directory entry +# + +create table t1 (a int) engine=innodb; +copy_file $MYSQLTEST_VARDIR/master-data/test/t1.frm $MYSQLTEST_VARDIR/master-data/test/t2.frm; +--error 1146 +select * from t2; +drop table t1; +--error 1051 +drop table t2; +create table t2 (a int); +drop table t2; + --echo End of 5.0 tests |