mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
MDEV-7652 - More explanatory ERROR and WARNING messages when loading plugins
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
This commit is contained in:
@ -5,7 +5,7 @@ Warning 1266 Using storage engine MyISAM for table 't1'
|
||||
DROP TABLE t1;
|
||||
INSTALL PLUGIN example SONAME 'ha_example';
|
||||
INSTALL PLUGIN EXAMPLE SONAME 'ha_example';
|
||||
ERROR HY000: Function 'EXAMPLE' already exists
|
||||
ERROR HY000: Plugin 'EXAMPLE' already installed
|
||||
UNINSTALL PLUGIN example;
|
||||
INSTALL SONAME 'ha_example';
|
||||
select * from information_schema.plugins where plugin_library like 'ha_example%';
|
||||
|
Reference in New Issue
Block a user