summaryrefslogtreecommitdiff
path: root/mysql-test/t/ndb_autodiscover2.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/t/ndb_autodiscover2.test')
-rw-r--r--mysql-test/t/ndb_autodiscover2.test13
1 files changed, 13 insertions, 0 deletions
diff --git a/mysql-test/t/ndb_autodiscover2.test b/mysql-test/t/ndb_autodiscover2.test
new file mode 100644
index 00000000000..297795d909e
--- /dev/null
+++ b/mysql-test/t/ndb_autodiscover2.test
@@ -0,0 +1,13 @@
+-- source include/have_ndb.inc
+
+#
+# Simple test to show use of discover on startup
+# The previous step has simply removed the frm file
+# from disk, but left the table in NDB
+#
+select * from t9 order by a;
+
+# handler_discover should be zero
+show status like 'handler_discover%';
+
+drop table t9;