From 54461b0699c202abd720970493002125d4f821fd Mon Sep 17 00:00:00 2001 From: Georgi Kodinov Date: Wed, 23 Mar 2011 19:03:42 +0200 Subject: Bug #11766306: 59393: have_innodb=yes when mysqld started with --skip-innodb Initialized correctly the have_innodb variable so that when the plugin is not initialized it stays "disabled" instead of "yes". Test suite added. --- mysql-test/t/bootstrap.test | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'mysql-test/t/bootstrap.test') diff --git a/mysql-test/t/bootstrap.test b/mysql-test/t/bootstrap.test index e98afb81ff1..5b432653e45 100644 --- a/mysql-test/t/bootstrap.test +++ b/mysql-test/t/bootstrap.test @@ -49,3 +49,15 @@ remove_file $MYSQLTEST_VARDIR/tmp/long_query.sql; set global max_allowed_packet=@my_max_allowed_packet; drop table t1; +--echo End of 5.1 tests + +--echo # +--echo # Bug #11766306: 59393: HAVE_INNODB=YES WHEN MYSQLD +--echo # STARTED WITH --SKIP-INNODB +--echo # + +# need the --skip-innodb option present for the test to succeed +SHOW VARIABLES LIKE 'have_innodb'; +SELECT SUPPORT FROM INFORMATION_SCHEMA.ENGINES WHERE engine='innodb'; + +--echo End of 5.5 tests -- cgit v1.2.1