mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Bug#17638477 UNINSTALL AND INSTALL SEMI-SYNC PLUGIN CAUSES SLAVES TO BREAK
Fix the bug properly (plugin cannot be unloaded as long as it's locked). Enable and fix the test case. Significantly reduce number of LOCK_plugin locks for semisync (practically all locks were removed)
This commit is contained in:
@ -26,13 +26,10 @@ class Observer_info {
|
||||
public:
|
||||
void *observer;
|
||||
st_plugin_int *plugin_int;
|
||||
plugin_ref plugin;
|
||||
|
||||
Observer_info(void *ob, st_plugin_int *p)
|
||||
:observer(ob), plugin_int(p)
|
||||
{
|
||||
plugin= plugin_int_to_ref(plugin_int);
|
||||
}
|
||||
{ }
|
||||
};
|
||||
|
||||
class Delegate {
|
||||
|
Reference in New Issue
Block a user