summaryrefslogtreecommitdiff
path: root/scripts/wsrep_sst_common.sh
diff options
context:
space:
mode:
authorDaniel Black <grooverdan@users.sourceforge.net>2018-01-14 12:34:11 +1100
committerDaniel Black <grooverdan@users.sourceforge.net>2018-01-14 23:31:14 +1100
commit51ea696c8eb300855e279ce337b572bda702295a (patch)
tree9021a7ae67185f78570d6e75ccc411673b25cf06 /scripts/wsrep_sst_common.sh
parent722df905347a165961b1ff82a707151dd78fe8be (diff)
downloadmariadb-git-51ea696c8eb300855e279ce337b572bda702295a.tar.gz
wsrep_sst_common: keep WSREP_SST_OPT_HOST_UNESCAPED for IPv4
change wsrep_sst_mysqldump.sh to use WSREP_SST_OPT_HOST_UNESCAPED directly.
Diffstat (limited to 'scripts/wsrep_sst_common.sh')
-rw-r--r--scripts/wsrep_sst_common.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/wsrep_sst_common.sh b/scripts/wsrep_sst_common.sh
index b9cd45d70f8..b9d9d04fef6 100644
--- a/scripts/wsrep_sst_common.sh
+++ b/scripts/wsrep_sst_common.sh
@@ -40,6 +40,8 @@ case "$1" in
then
# IPv6 notation
readonly WSREP_SST_OPT_HOST_UNESCAPED=${WSREP_SST_OPT_HOST:1:-1}
+ else
+ readonly WSREP_SST_OPT_HOST_UNESCAPED=${WSREP_SST_OPT_HOST}
fi
readonly WSREP_SST_OPT_PORT=$(echo $WSREP_SST_OPT_ADDR | \
cut -d ']' -f 2 | cut -s -d ':' -f 2 | cut -d '/' -f 1)