summaryrefslogtreecommitdiff
path: root/sql/wsrep_var.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/wsrep_var.cc')
-rw-r--r--sql/wsrep_var.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/sql/wsrep_var.cc b/sql/wsrep_var.cc
index dcca0ed08c2..82eb73944b9 100644
--- a/sql/wsrep_var.cc
+++ b/sql/wsrep_var.cc
@@ -120,8 +120,7 @@ bool wsrep_on_update (sys_var *self, THD* thd, enum_var_type var_type)
if (wsrep_init())
{
- my_error(ER_CANT_OPEN_LIBRARY, MYF(0), tmp, my_error, "wsrep_init failed");
- //rcode= true;
+ my_error(ER_CANT_OPEN_LIBRARY, MYF(0), tmp, errno, "wsrep_init failed");
saved_wsrep_on= false;
}