1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +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:
Nirbhay Choubey
2016-06-27 18:22:35 -04:00
parent 90f222ea7d
commit 7ef5257a64

View File

@ -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=*)