2004-05-17 09:53:13 +02:00
|
|
|
-- source include/have_ndb.inc
|
2005-04-19 17:23:49 +02:00
|
|
|
-- source include/not_embedded.inc
|
2004-05-17 09:53:13 +02:00
|
|
|
|
|
|
|
#
|
2004-09-13 14:46:38 +02:00
|
|
|
# Simple test to show use of discover when the server has been restarted
|
2004-05-17 09:53:13 +02:00
|
|
|
# The previous step has simply removed the frm file
|
|
|
|
# from disk, but left the table in NDB
|
|
|
|
#
|
2004-09-06 20:30:57 +02:00
|
|
|
--sleep 3;
|
2004-06-24 13:52:50 +02:00
|
|
|
select * from t9 order by a;
|
2004-05-17 09:53:13 +02:00
|
|
|
|
2004-09-13 14:46:38 +02:00
|
|
|
# handler_discover should be 1
|
2004-05-17 09:53:13 +02:00
|
|
|
show status like 'handler_discover%';
|
|
|
|
|
|
|
|
drop table t9;
|
2004-09-13 14:46:38 +02:00
|
|
|
|
2004-11-08 11:06:36 +01:00
|
|
|
--error 1296
|
|
|
|
select * from t10;
|
|
|
|
drop table t10;
|
2004-09-13 14:46:38 +02:00
|
|
|
|
2005-07-28 02:22:47 +02:00
|
|
|
# End of 4.1 tests
|