mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +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; ;;
|
--timezone=*) TZ="$val"; export TZ; ;;
|
||||||
--flush[-_]caches) flush_caches=1 ;;
|
--flush[-_]caches) flush_caches=1 ;;
|
||||||
--numa[-_]interleave) numa_interleave=1 ;;
|
--numa[-_]interleave) numa_interleave=1 ;;
|
||||||
--wsrep[-_]on) wsrep_on=1 ;;
|
--wsrep[-_]on)
|
||||||
--skip[-_]wsrep[-_]on) wsrep_on=0 ;;
|
wsrep_on=1
|
||||||
|
append_arg_to_args "$arg"
|
||||||
|
;;
|
||||||
|
--skip[-_]wsrep[-_]on)
|
||||||
|
wsrep_on=0
|
||||||
|
append_arg_to_args "$arg"
|
||||||
|
;;
|
||||||
--wsrep[-_]on=*)
|
--wsrep[-_]on=*)
|
||||||
if echo $val | grep -iq '\(ON\|1\)'; then
|
if echo $val | grep -iq '\(ON\|1\)'; then
|
||||||
wsrep_on=1
|
wsrep_on=1
|
||||||
else
|
else
|
||||||
wsrep_on=0
|
wsrep_on=0
|
||||||
fi
|
fi
|
||||||
|
append_arg_to_args "$arg"
|
||||||
;;
|
;;
|
||||||
--wsrep[-_]urls=*) wsrep_urls="$val"; ;;
|
--wsrep[-_]urls=*) wsrep_urls="$val"; ;;
|
||||||
--wsrep[-_]provider=*)
|
--wsrep[-_]provider=*)
|
||||||
|
Reference in New Issue
Block a user