summaryrefslogtreecommitdiff
path: root/sql/rpl_handler.h
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2014-08-03 12:45:14 +0200
committerSergei Golubchik <sergii@pisem.net>2014-08-03 12:45:14 +0200
commit50e192a04f1e0d6cbc98d5935e775e619b0fbff1 (patch)
tree30cd9213bf19b0e815f683a12396581b46249549 /sql/rpl_handler.h
parent359d764b79969e6ae96fc2eab2fb0a73f2f2461e (diff)
downloadmariadb-git-50e192a04f1e0d6cbc98d5935e775e619b0fbff1.tar.gz
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)
Diffstat (limited to 'sql/rpl_handler.h')
-rw-r--r--sql/rpl_handler.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/sql/rpl_handler.h b/sql/rpl_handler.h
index 4743fffb9a0..362f3c74a4b 100644
--- a/sql/rpl_handler.h
+++ b/sql/rpl_handler.h
@@ -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 {