diff options
author | Nirbhay Choubey <nirbhay@mariadb.com> | 2016-09-28 13:26:13 -0400 |
---|---|---|
committer | Nirbhay Choubey <nirbhay@mariadb.com> | 2016-11-07 11:53:56 -0500 |
commit | 6bb6f30ff9447c880ef90c4194b0fe0deca87ac6 (patch) | |
tree | 51f6607ad9e22242c056f25f811c969eb59f2b2b /sql/sql_plugin.h | |
parent | 7c38a94435976e9f311e9b84953ffbb3a9139807 (diff) | |
download | mariadb-git-6bb6f30ff9447c880ef90c4194b0fe0deca87ac6.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.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sql/sql_plugin.h b/sql/sql_plugin.h index 317ccf482b6..9a0acea1d18 100644 --- a/sql/sql_plugin.h +++ b/sql/sql_plugin.h @@ -182,6 +182,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, @@ -199,3 +200,9 @@ sys_var *find_sys_var_ex(THD *thd, const char *str, size_t length, 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 */ + |