summaryrefslogtreecommitdiff
path: root/sql/wsrep_var.cc
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2017-11-10 01:38:03 +0100
committerSergei Golubchik <serg@mariadb.org>2017-11-10 01:38:03 +0100
commit2a4e4335c4bcb7f7488c9b91bdc8a2da3da5cf61 (patch)
treeeadf9e2e8c0d2fccdd1db226395b8232b67737d6 /sql/wsrep_var.cc
parent7002291b8aa2e036a7adfd23d961dc09b4f01f46 (diff)
parent9572bbdc3791178b82d4c71a8e3948a3a35123d4 (diff)
downloadmariadb-git-2a4e4335c4bcb7f7488c9b91bdc8a2da3da5cf61.tar.gz
Merge branch 'github/10.0-galera' into 10.1
Diffstat (limited to 'sql/wsrep_var.cc')
-rw-r--r--sql/wsrep_var.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/wsrep_var.cc b/sql/wsrep_var.cc
index 1d117766db4..b21041eb0f8 100644
--- a/sql/wsrep_var.cc
+++ b/sql/wsrep_var.cc
@@ -301,8 +301,9 @@ bool wsrep_provider_update (sys_var *self, THD* thd, enum_var_type type)
if (wsrep_inited == 1)
wsrep_deinit(false);
- char* tmp= strdup(wsrep_provider); // wsrep_init() rewrites provider
+ char* tmp= strdup(wsrep_provider); // wsrep_init() rewrites provider
//when fails
+
if (wsrep_init())
{
my_error(ER_CANT_OPEN_LIBRARY, MYF(0), tmp);