summaryrefslogtreecommitdiff
path: root/scripts/wsrep_sst_mysqldump.sh
diff options
context:
space:
mode:
authorNirbhay Choubey <nirbhay@skysql.com>2014-04-15 14:27:45 -0400
committerNirbhay Choubey <nirbhay@skysql.com>2014-04-15 14:27:45 -0400
commit99838736bc7bcbc1a0cfa5441d1ac15d6d34ef4c (patch)
treed641a9bc6de2f7d51f176052103902191398669c /scripts/wsrep_sst_mysqldump.sh
parent24ad467d7f47bf67ca5358506918f12b54167ad5 (diff)
downloadmariadb-git-99838736bc7bcbc1a0cfa5441d1ac15d6d34ef4c.tar.gz
MDEV#6098 mysqldump sst fails on maria-10.0-galera
* Removed the unnecessary call to wsrep_cleanup_progress_file, which was returning code 1 and eventually causing SST to fail. * Also initialized the unused WSREP_SST_OPT_CONF to avoid error message.
Diffstat (limited to 'scripts/wsrep_sst_mysqldump.sh')
-rw-r--r--scripts/wsrep_sst_mysqldump.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/scripts/wsrep_sst_mysqldump.sh b/scripts/wsrep_sst_mysqldump.sh
index 466099db0d9..6a16f65c33d 100644
--- a/scripts/wsrep_sst_mysqldump.sh
+++ b/scripts/wsrep_sst_mysqldump.sh
@@ -17,6 +17,10 @@
# This is a reference script for mysqldump-based state snapshot tansfer
+# This variable is not used in mysqldump sst, so better initialize it
+# to avoid shell's "parameter not set" message.
+WSREP_SST_OPT_CONF=""
+
. $(dirname $0)/wsrep_sst_common
EINVAL=22
@@ -119,5 +123,4 @@ else
wsrep_log_info "Bypassing state dump."
echo $SET_START_POSITION | $MYSQL
fi
-wsrep_cleanup_progress_file
-#
+