1
2--source include/not_embedded.inc
3
4# We used an invalid command-line option and InnoDB failed to start.
5# Ignore all related warnings
6call mtr.add_suppression("InnoDB");
7
8--vertical_results
9SELECT
10PLUGIN_NAME,PLUGIN_STATUS,PLUGIN_TYPE,PLUGIN_LIBRARY,PLUGIN_LIBRARY_VERSION,LOAD_OPTION
11FROM INFORMATION_SCHEMA.PLUGINS WHERE plugin_name = 'innodb';
12
13--echo #
14--echo # MDEV-6351 --plugin=force has no effect for built-in plugins
15--echo #
16--exec echo "wait" > $MYSQLTEST_VARDIR/tmp/mysqld.1.expect
17--shutdown_server
18--source include/wait_until_disconnected.inc
19
20--error 1
21--exec $MYSQLD_CMD --innodb=force --innodb-page-size=6000 --disable-log-error
22
23--exec echo "restart" > $MYSQLTEST_VARDIR/tmp/mysqld.1.expect
24--enable_reconnect
25--source include/wait_until_connected_again.inc
26--disable_reconnect
27