2015-08-11 18:45:38 +02:00
|
|
|
set sql_mode="";
|
2010-04-26 20:44:10 +02:00
|
|
|
CREATE TABLE t1(a int) ENGINE=BLACKHOLE;
|
|
|
|
Warnings:
|
|
|
|
Warning 1286 Unknown storage engine 'BLACKHOLE'
|
|
|
|
Warning 1266 Using storage engine MyISAM for table 't1'
|
2015-08-11 18:45:38 +02:00
|
|
|
set sql_mode=default;
|
2010-04-26 20:44:10 +02:00
|
|
|
DROP TABLE t1;
|
|
|
|
INSTALL PLUGIN blackhole SONAME 'ha_blackhole.so';
|
|
|
|
INSTALL PLUGIN BLACKHOLE SONAME 'ha_blackhole.so';
|
2015-07-28 08:18:55 +02:00
|
|
|
ERROR HY000: Plugin 'BLACKHOLE' already installed
|
2010-04-26 20:44:10 +02:00
|
|
|
UNINSTALL PLUGIN blackhole;
|
|
|
|
INSTALL PLUGIN blackhole SONAME 'ha_blackhole.so';
|
|
|
|
CREATE TABLE t1(a int) ENGINE=BLACKHOLE;
|
|
|
|
DROP TABLE t1;
|
2011-03-14 12:03:08 +01:00
|
|
|
SELECT 1;
|
|
|
|
1
|
|
|
|
1
|
2010-04-26 20:44:10 +02:00
|
|
|
UNINSTALL PLUGIN blackhole;
|
|
|
|
UNINSTALL PLUGIN blackhole;
|
|
|
|
ERROR 42000: PLUGIN blackhole does not exist
|