summaryrefslogtreecommitdiff
path: root/mysql-test/t/blackhole_plugin.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/t/blackhole_plugin.test')
-rw-r--r--mysql-test/t/blackhole_plugin.test15
1 files changed, 6 insertions, 9 deletions
diff --git a/mysql-test/t/blackhole_plugin.test b/mysql-test/t/blackhole_plugin.test
index 448104bed2b..e598c3f1b11 100644
--- a/mysql-test/t/blackhole_plugin.test
+++ b/mysql-test/t/blackhole_plugin.test
@@ -1,20 +1,17 @@
---source include/not_windows.inc
---source include/have_blackhole_plugin.inc
-
-# When running in parallel we get
-# Warning 1620 Plugin is busy and will be uninstalled on shutdown
---source include/not_parallel.inc
+if (!$HA_BLACKHOLE_SO) {
+ --skip Need blackhole plugin
+}
CREATE TABLE t1(a int) ENGINE=BLACKHOLE;
DROP TABLE t1;
-eval INSTALL PLUGIN blackhole SONAME 'ha_blackhole.so';
+eval INSTALL PLUGIN blackhole SONAME '$HA_BLACKHOLE_SO';
--error 1125
-eval INSTALL PLUGIN BLACKHOLE SONAME 'ha_blackhole.so';
+eval INSTALL PLUGIN BLACKHOLE SONAME '$HA_BLACKHOLE_SO';
UNINSTALL PLUGIN blackhole;
-eval INSTALL PLUGIN blackhole SONAME 'ha_blackhole.so';
+eval INSTALL PLUGIN blackhole SONAME '$HA_BLACKHOLE_SO';
CREATE TABLE t1(a int) ENGINE=BLACKHOLE;