mysql5/mysql-5.7.27/mysql-test/suite/ndb_team/t/ndb_autodiscover2.test

27 lines
639 B
Plaintext

# The include statement below is a temp one for tests that are yet to
#be ported to run with InnoDB,
#but needs to be kept for tests that would need MyISAM in future.
--source include/force_myisam_default.inc
-- 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