summaryrefslogtreecommitdiff
path: root/sql/wsrep_sst.cc
diff options
context:
space:
mode:
authorNirbhay Choubey <nirbhay@mariadb.com>2016-03-16 16:48:24 -0400
committerNirbhay Choubey <nirbhay@mariadb.com>2016-03-22 00:38:21 -0400
commitdf3ad1109765a4e207dede13769e993ab34903c5 (patch)
treedd975039d323e85092ae6a350f6a00e11772bd0b /sql/wsrep_sst.cc
parentd31d6d31bb121150a99d95d2af0cab17396fbfc6 (diff)
downloadmariadb-git-df3ad1109765a4e207dede13769e993ab34903c5.tar.gz
MDEV-9598: Donor's rsync SST script hangs if FTWRL fails
Post-fix: initialize err
Diffstat (limited to 'sql/wsrep_sst.cc')
-rw-r--r--sql/wsrep_sst.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/wsrep_sst.cc b/sql/wsrep_sst.cc
index 43528e642eb..c31873656a8 100644
--- a/sql/wsrep_sst.cc
+++ b/sql/wsrep_sst.cc
@@ -976,7 +976,7 @@ static int sst_flush_tables(THD* thd)
{
WSREP_INFO("Flushing tables for SST...");
- int err;
+ int err= 0;
int not_used;
/*
Files created to notify the SST script about the outcome of table flush