summaryrefslogtreecommitdiff
path: root/sql/sql_plugin.h
diff options
context:
space:
mode:
authorNirbhay Choubey <nirbhay@mariadb.com>2016-09-28 13:26:13 -0400
committerNirbhay Choubey <nirbhay@mariadb.com>2016-09-28 13:26:13 -0400
commit7c525ce36babf8cbceb05595a551dd140188e1ba (patch)
treed7dd4ff55dd0d4d6aa88876dd0e23e9a66119e4b /sql/sql_plugin.h
parent88f2ec6f207be182d782d9176a66bf66b8fbf65f (diff)
downloadmariadb-git-7c525ce36babf8cbceb05595a551dd140188e1ba.tar.gz
MDEV-9312: storage engine not enforced during galera cluster replication
Perform a post initialization of plugin-related variables of wsrep threads after their global counterparts have been initialized.
Diffstat (limited to 'sql/sql_plugin.h')
-rw-r--r--sql/sql_plugin.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/sql/sql_plugin.h b/sql/sql_plugin.h
index 77ec24bbe9c..d11c449962a 100644
--- a/sql/sql_plugin.h
+++ b/sql/sql_plugin.h
@@ -180,6 +180,7 @@ sys_var *find_plugin_sysvar(st_plugin_int *plugin, st_mysql_sys_var *var);
void plugin_opt_set_limits(struct my_option *, const struct st_mysql_sys_var *);
extern SHOW_COMP_OPTION plugin_status(const char *name, size_t len, int type);
extern bool check_valid_path(const char *path, size_t length);
+extern void plugin_mutex_init();
typedef my_bool (plugin_foreach_func)(THD *thd,
plugin_ref plugin,
@@ -194,3 +195,9 @@ extern bool plugin_dl_foreach(THD *thd, const LEX_STRING *dl,
extern void sync_dynamic_session_variables(THD* thd, bool global_lock);
#endif
+
+#ifdef WITH_WSREP
+extern void wsrep_plugins_pre_init();
+extern void wsrep_plugins_post_init();
+#endif /* WITH_WSREP */
+