summaryrefslogtreecommitdiffstats
path: root/mysql-test/main/blackhole_plugin.result
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/main/blackhole_plugin.result')
-rw-r--r--mysql-test/main/blackhole_plugin.result20
1 files changed, 20 insertions, 0 deletions
diff --git a/mysql-test/main/blackhole_plugin.result b/mysql-test/main/blackhole_plugin.result
new file mode 100644
index 00000000..28844410
--- /dev/null
+++ b/mysql-test/main/blackhole_plugin.result
@@ -0,0 +1,20 @@
+set sql_mode="";
+CREATE TABLE t1(a int) ENGINE=BLACKHOLE;
+Warnings:
+Warning 1286 Unknown storage engine 'BLACKHOLE'
+Warning 1266 Using storage engine MyISAM for table 't1'
+set sql_mode=default;
+DROP TABLE t1;
+INSTALL PLUGIN blackhole SONAME 'ha_blackhole.so';
+INSTALL PLUGIN BLACKHOLE SONAME 'ha_blackhole.so';
+ERROR HY000: Plugin 'BLACKHOLE' already installed
+UNINSTALL PLUGIN blackhole;
+INSTALL PLUGIN blackhole SONAME 'ha_blackhole.so';
+CREATE TABLE t1(a int) ENGINE=BLACKHOLE;
+DROP TABLE t1;
+SELECT 1;
+1
+1
+UNINSTALL PLUGIN blackhole;
+UNINSTALL PLUGIN blackhole;
+ERROR 42000: PLUGIN blackhole does not exist