mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
MDEV-10230: --wsrep_on option no longer passed through by mysqld_safe
Append mysqld_safe's wsrep-on option to the list of options used to start mysqld. [Patch contributed by Hartmut]
This commit is contained in:
@ -332,14 +332,21 @@ parse_arguments() {
|
||||
--timezone=*) TZ="$val"; export TZ; ;;
|
||||
--flush[-_]caches) flush_caches=1 ;;
|
||||
--numa[-_]interleave) numa_interleave=1 ;;
|
||||
--wsrep[-_]on) wsrep_on=1 ;;
|
||||
--skip[-_]wsrep[-_]on) wsrep_on=0 ;;
|
||||
--wsrep[-_]on)
|
||||
wsrep_on=1
|
||||
append_arg_to_args "$arg"
|
||||
;;
|
||||
--skip[-_]wsrep[-_]on)
|
||||
wsrep_on=0
|
||||
append_arg_to_args "$arg"
|
||||
;;
|
||||
--wsrep[-_]on=*)
|
||||
if echo $val | grep -iq '\(ON\|1\)'; then
|
||||
wsrep_on=1
|
||||
else
|
||||
wsrep_on=0
|
||||
fi
|
||||
append_arg_to_args "$arg"
|
||||
;;
|
||||
--wsrep[-_]urls=*) wsrep_urls="$val"; ;;
|
||||
--wsrep[-_]provider=*)
|
||||
|
Reference in New Issue
Block a user