diff options
author | magnus@shellback.(none) <> | 2004-09-26 16:11:24 +0200 |
---|---|---|
committer | magnus@shellback.(none) <> | 2004-09-26 16:11:24 +0200 |
commit | 059941db21bb9cedd2663a10550e3277d3fca3df (patch) | |
tree | 1d3702820ede0b06dd2271c41fe8c3d78c8afe5c /mysql-test/t/ndb_autodiscover.test | |
parent | 61be5a9c2764000ffaec574e08be8a02d950561e (diff) | |
download | mariadb-git-059941db21bb9cedd2663a10550e3277d3fca3df.tar.gz |
WL#1424 Updated after review
* Changed the implementation of ndbcluster_find_files to be more efficient, using only one mutex lock
* Moved ha_find_files to end of mysql_find_files so that it can be passed the list that we are interested to find.
Diffstat (limited to 'mysql-test/t/ndb_autodiscover.test')
-rw-r--r-- | mysql-test/t/ndb_autodiscover.test | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/mysql-test/t/ndb_autodiscover.test b/mysql-test/t/ndb_autodiscover.test index 47a1155065b..50c94d7a6e4 100644 --- a/mysql-test/t/ndb_autodiscover.test +++ b/mysql-test/t/ndb_autodiscover.test @@ -215,9 +215,43 @@ drop table t6, t7; #show status like 'handler_discover%'; #drop table t4; # +# +# system exec $NDB_TOOLS_DIR/ndb_drop_table -d test t4 > /dev/null ; +# +# +# #show tables; +####################################################### +# Test that a table that has been dropped from NDB +# but still exists on disk is deleted from disk +# when SHOW TABLES is called +# +# +#flush status; +# +#create table t4( +# id int not null primary key, +# id2 int, +# name char(27) +#) engine=ndb; +#insert into t4 values (1, 76, "Automatic2"); +#select * from t4; +#flush tables; +# +# Remove the table from NDB +#system exec ../ndb/tools/ndb_drop_table -c localhost:9350 -d test t4 > /dev/null ; + +#system exec ../ndb/tools/ndb_show_tables > var/log/ndb_show_tables.log; + +#SHOW TABLES; + +# Is there another way to find out that the file is gone? +#--error 1146 +#select * from t4; + + ######################################################### # Test that a table that has been changed in NDB |