Refs codership/mysql-wsrep#143 . Account for the case where the SST password is empty
This commit is contained in:
parent
86ee30cea9
commit
bc796c29b3
@ -144,7 +144,7 @@ if ! wsrep_auth_not_set
|
||||
then
|
||||
readonly AUTH_VEC=(${WSREP_SST_OPT_AUTH//:/ })
|
||||
[ -n "${AUTH_VEC[0]}" ] && WSREP_SST_OPT_USER="${AUTH_VEC[0]}"
|
||||
[ -n "${AUTH_VEC[1]}" ] && WSREP_SST_OPT_PSWD="${AUTH_VEC[1]}"
|
||||
[ -n "${AUTH_VEC[1]:-}" ] && WSREP_SST_OPT_PSWD="${AUTH_VEC[1]:-}"
|
||||
fi
|
||||
readonly WSREP_SST_OPT_USER
|
||||
readonly WSREP_SST_OPT_PSWD
|
||||
|
Loading…
x
Reference in New Issue
Block a user