2006-12-15 15:05:50 +01:00
|
|
|
#
|
|
|
|
# Only run this test with a compiled in but disabled
|
|
|
|
# engine
|
|
|
|
#
|
2010-08-17 09:14:46 +02:00
|
|
|
if (!`SELECT count(*) FROM information_schema.engines WHERE
|
|
|
|
support = 'NO' AND engine = 'innodb'`){
|
2011-07-16 09:59:04 +02:00
|
|
|
skip Needs compiled-in and disabled innodb engine;
|
2010-08-17 09:14:46 +02:00
|
|
|
}
|
2006-12-15 15:05:50 +01:00
|
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
# Test for handler type, will select MyISAM and print a warning
|
2010-08-17 09:14:46 +02:00
|
|
|
# about that - since InnoDB is disabled
|
2006-12-15 15:05:50 +01:00
|
|
|
#
|
2015-08-11 18:45:38 +02:00
|
|
|
set sql_mode="";
|
2010-08-17 09:14:46 +02:00
|
|
|
create table t1 (id int) engine=InnoDB;
|
|
|
|
alter table t1 engine=InnoDB;
|
2006-12-15 15:05:50 +01:00
|
|
|
drop table t1;
|
2015-08-11 18:45:38 +02:00
|
|
|
set sql_mode=default;
|
2006-12-15 15:05:50 +01:00
|
|
|
|
2008-12-17 16:45:34 +01:00
|
|
|
#
|
|
|
|
# Bug#29263 disabled storage engines omitted in SHOW ENGINES
|
|
|
|
#
|
2010-08-17 09:14:46 +02:00
|
|
|
SELECT ENGINE, SUPPORT FROM INFORMATION_SCHEMA.ENGINES WHERE ENGINE='InnoDB';
|
|
|
|
SELECT PLUGIN_NAME, PLUGIN_STATUS FROM INFORMATION_SCHEMA.PLUGINS WHERE PLUGIN_NAME='InnoDB';
|