File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -60,3 +60,22 @@ SELECT 'bug' as '' FROM INFORMATION_SCHEMA.ENGINES WHERE engine='innodb'
60
60
and SUPPORT='YES';
61
61
62
62
--echo End of 5.5 tests
63
+
64
+ --source include/not_windows_embedded.inc
65
+ --source include/have_example_plugin.inc
66
+ #
67
+ # Check that --bootstrap can load/unload plugins
68
+ #
69
+ --disable_query_log
70
+ let $PLUGIN_DIR=`select @@plugin_dir`;
71
+ eval SELECT "install plugin example soname '$HA_EXAMPLE_SO';" INTO OUTFILE '$MYSQLTEST_VARDIR/tmp/install_plugin.sql';
72
+ --enable_query_log
73
+ --exec $MYSQLD_BOOTSTRAP_CMD --plugin-dir=$PLUGIN_DIR < $MYSQLTEST_VARDIR/tmp/install_plugin.sql >> $MYSQLTEST_VARDIR/tmp/bootstrap.log 2>&1
74
+ remove_file $MYSQLTEST_VARDIR/tmp/install_plugin.sql;
75
+ --write_file $MYSQLTEST_VARDIR/tmp/bootstrap_plugins.sql
76
+ use test;
77
+ create table t1(a int) engine=example;
78
+ drop table t1;
79
+ EOF
80
+ --exec $MYSQLD_BOOTSTRAP_CMD --plugin-dir=$PLUGIN_DIR < $MYSQLTEST_VARDIR/tmp/bootstrap_plugins.sql >> $MYSQLTEST_VARDIR/tmp/bootstrap.log 2>&1
81
+ remove_file $MYSQLTEST_VARDIR/tmp/bootstrap_plugins.sql;
You can’t perform that action at this time.
0 commit comments