1
if (!$HA_BLACKHOLE_SO) {
2
--skip Need blackhole plugin
5
CREATE TABLE t1(a int) ENGINE=BLACKHOLE;
7
--replace_regex /\.dll/.so/
8
eval INSTALL PLUGIN blackhole SONAME '$HA_BLACKHOLE_SO';
9
--replace_regex /\.dll/.so/
11
eval INSTALL PLUGIN BLACKHOLE SONAME '$HA_BLACKHOLE_SO';
13
UNINSTALL PLUGIN blackhole;
14
--replace_regex /\.dll/.so/
15
eval INSTALL PLUGIN blackhole SONAME '$HA_BLACKHOLE_SO';
17
CREATE TABLE t1(a int) ENGINE=BLACKHOLE;
21
# This dummy statement is required for --ps-protocol mode.
22
# The thing is that last prepared statement is "cached" in mysqltest.cc
23
# (unless "reconnect" is enabled, and that's not the case here).
24
# This statement forces mysqltest.cc to close prepared "DROP TABLE t1".
25
# Otherwise, the plugin can not be uninstalled because there is an active
26
# prepared statement using it.
29
UNINSTALL PLUGIN blackhole;
30
--error ER_SP_DOES_NOT_EXIST
31
UNINSTALL PLUGIN blackhole;