diff options
Diffstat (limited to 'mysql-test/suite/ndb/t/ndb_autodiscover2.test')
-rw-r--r-- | mysql-test/suite/ndb/t/ndb_autodiscover2.test | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/mysql-test/suite/ndb/t/ndb_autodiscover2.test b/mysql-test/suite/ndb/t/ndb_autodiscover2.test new file mode 100644 index 00000000000..ebe14696cd2 --- /dev/null +++ b/mysql-test/suite/ndb/t/ndb_autodiscover2.test @@ -0,0 +1,21 @@ +-- source include/have_ndb.inc +-- source include/not_embedded.inc + +# +# Simple test to show use of discover when the server has been restarted +# The previous step has simply removed the frm file +# from disk, but left the table in NDB +# +--sleep 3 +select * from t9 order by a; + +# handler_discover should be 1 +show status like 'handler_discover%'; + +drop table t9; + +--error 1296 +select * from t10; +drop table t10; + +# End of 4.1 tests |