-- source include/have_ndb.inc
-- source include/have_binlog_format_row.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