mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 13:32:33 +01:00
4188ba9c1e
with plugin-load-add that are already registered at mysql.plugin - issue just one error message, without this extra warning - don't abuse ER_UDF_EXISTS, instead add a proper error message for plugins - report started initialization for each plugin source
18 lines
572 B
Text
18 lines
572 B
Text
CREATE TABLE t1(a int) ENGINE=BLACKHOLE;
|
|
Warnings:
|
|
Warning 1286 Unknown storage engine 'BLACKHOLE'
|
|
Warning 1266 Using storage engine MyISAM for table 't1'
|
|
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
|