mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
MDEV-4529 Assertion `tmp->state == 4' fails on mix of INSTALL SONAME / UNINSTALL PLUGIN
fix incorrect assert
This commit is contained in:
@ -173,3 +173,22 @@ select 1;
|
||||
UNINSTALL PLUGIN example;
|
||||
UNINSTALL PLUGIN MyISAM;
|
||||
ERROR HY000: Built-in plugins cannot be deleted
|
||||
select plugin_name from information_schema.plugins where plugin_library like 'ha_example%';
|
||||
plugin_name
|
||||
install soname 'ha_example';
|
||||
select plugin_name from information_schema.plugins where plugin_library like 'ha_example%';
|
||||
plugin_name
|
||||
EXAMPLE
|
||||
UNUSABLE
|
||||
uninstall plugin example;
|
||||
select plugin_name from information_schema.plugins where plugin_library like 'ha_example%';
|
||||
plugin_name
|
||||
UNUSABLE
|
||||
install soname 'ha_example';
|
||||
select plugin_name from information_schema.plugins where plugin_library like 'ha_example%';
|
||||
plugin_name
|
||||
EXAMPLE
|
||||
UNUSABLE
|
||||
uninstall soname 'ha_example';
|
||||
select plugin_name from information_schema.plugins where plugin_library like 'ha_example%';
|
||||
plugin_name
|
||||
|
Reference in New Issue
Block a user