mariadb/mysql-test/t/warnings_engine_disabled.test
Sergei Golubchik 73a46b3eb9 skipped tests: improve skip messages, move to a proper suite, disable as needed
mysql-test/include/have_binlog_format_mixed_or_row.inc:
  better skip message
mysql-test/include/have_binlog_format_mixed_or_statement.inc:
  better skip message
mysql-test/include/have_binlog_format_row_or_statement.inc:
  better skip message
mysql-test/t/warnings_engine_disabled.test:
  better skip message
2011-07-16 09:59:04 +02:00

23 lines
660 B
Text

#
# Only run this test with a compiled in but disabled
# engine
#
if (!`SELECT count(*) FROM information_schema.engines WHERE
support = 'NO' AND engine = 'innodb'`){
skip Needs compiled-in and disabled innodb engine;
}
#
# Test for handler type, will select MyISAM and print a warning
# about that - since InnoDB is disabled
#
create table t1 (id int) engine=InnoDB;
alter table t1 engine=InnoDB;
drop table t1;
#
# Bug#29263 disabled storage engines omitted in SHOW ENGINES
#
SELECT ENGINE, SUPPORT FROM INFORMATION_SCHEMA.ENGINES WHERE ENGINE='InnoDB';
SELECT PLUGIN_NAME, PLUGIN_STATUS FROM INFORMATION_SCHEMA.PLUGINS WHERE PLUGIN_NAME='InnoDB';