2006-12-15 15:05:50 +01:00
|
|
|
#
|
|
|
|
# Only run this test with a compiled in but disabled
|
|
|
|
# engine
|
|
|
|
#
|
|
|
|
disable_query_log;
|
|
|
|
--require r/true.require
|
2008-12-17 16:45:34 +01:00
|
|
|
select support = 'NO' as `TRUE` from information_schema.engines where engine = 'ndbcluster';
|
2006-12-15 15:05:50 +01:00
|
|
|
enable_query_log;
|
|
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
# Test for handler type, will select MyISAM and print a warning
|
|
|
|
# about that - since NDB is disabled
|
|
|
|
#
|
|
|
|
create table t1 (id int) engine=NDB;
|
|
|
|
alter table t1 engine=NDB;
|
|
|
|
drop table t1;
|
|
|
|
|
2008-12-17 16:45:34 +01:00
|
|
|
#
|
|
|
|
# Bug#29263 disabled storage engines omitted in SHOW ENGINES
|
|
|
|
#
|
|
|
|
SELECT ENGINE, SUPPORT FROM INFORMATION_SCHEMA.ENGINES WHERE ENGINE='ndbcluster';
|
|
|
|
SELECT PLUGIN_NAME, PLUGIN_STATUS FROM INFORMATION_SCHEMA.PLUGINS WHERE
|
|
|
|
PLUGIN_NAME='ndbcluster';
|