summaryrefslogtreecommitdiff
path: root/mysql-test/t/archive_plugin.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/t/archive_plugin.test')
-rw-r--r--mysql-test/t/archive_plugin.test15
1 files changed, 6 insertions, 9 deletions
diff --git a/mysql-test/t/archive_plugin.test b/mysql-test/t/archive_plugin.test
index 7d9b0ea065f..b1126ab0c87 100644
--- a/mysql-test/t/archive_plugin.test
+++ b/mysql-test/t/archive_plugin.test
@@ -1,20 +1,17 @@
---source include/not_windows.inc
---source include/have_archive_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_ARCHIVE_SO) {
+ --skip Need example plugin
+}
CREATE TABLE t1(a int) ENGINE=ARCHIVE;
DROP TABLE t1;
-INSTALL PLUGIN archive SONAME 'ha_archive.so';
+eval INSTALL PLUGIN archive SONAME '$HA_ARCHIVE_SO';
--error 1125
-INSTALL PLUGIN ARCHIVE SONAME 'ha_archive.so';
+eval INSTALL PLUGIN ARCHIVE SONAME '$HA_ARCHIVE_SO';
UNINSTALL PLUGIN archive;
-INSTALL PLUGIN archive SONAME 'ha_archive.so';
+eval INSTALL PLUGIN archive SONAME '$HA_ARCHIVE_SO';
CREATE TABLE t1(a int) ENGINE=ARCHIVE;