1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-26 07:02:12 +03:00

MDEV-13968 sst fails with "WSREP_SST_OPT_PORT: readonly variable"

followup for 4c2c057d40

fix broken script (set -u)
This commit is contained in:
Sergei Golubchik
2017-10-24 20:59:54 +02:00
parent 24bffb080b
commit f7090df712

View File

@ -124,8 +124,8 @@ readonly WSREP_SST_OPT_BYPASS
readonly WSREP_SST_OPT_BINLOG readonly WSREP_SST_OPT_BINLOG
readonly WSREP_SST_OPT_CONF_SUFFIX readonly WSREP_SST_OPT_CONF_SUFFIX
if [ -n "$WSREP_SST_OPT_ADDR_PORT" ]; then if [ -n "${WSREP_SST_OPT_ADDR_PORT:-}" ]; then
if [ -n "$WSREP_SST_OPT_PORT" ]; then if [ -n "${WSREP_SST_OPT_PORT:-}" ]; then
if [ "$WSREP_SST_OPT_PORT" != "$WSREP_SST_OPT_ADDR_PORT" ]; then if [ "$WSREP_SST_OPT_PORT" != "$WSREP_SST_OPT_ADDR_PORT" ]; then
wsrep_log_error "port in --port=$WSREP_SST_OPT_PORT differs from port in --address=$WSREP_SST_OPT_ADDR" wsrep_log_error "port in --port=$WSREP_SST_OPT_PORT differs from port in --address=$WSREP_SST_OPT_ADDR"
exit 2 exit 2