Skip to content

Commit 7ef5257

Browse files
author
Nirbhay Choubey
committed
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]
1 parent 90f222e commit 7ef5257

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

scripts/mysqld_safe.sh

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -332,14 +332,21 @@ parse_arguments() {
332332
--timezone=*) TZ="$val"; export TZ; ;;
333333
--flush[-_]caches) flush_caches=1 ;;
334334
--numa[-_]interleave) numa_interleave=1 ;;
335-
--wsrep[-_]on) wsrep_on=1 ;;
336-
--skip[-_]wsrep[-_]on) wsrep_on=0 ;;
335+
--wsrep[-_]on)
336+
wsrep_on=1
337+
append_arg_to_args "$arg"
338+
;;
339+
--skip[-_]wsrep[-_]on)
340+
wsrep_on=0
341+
append_arg_to_args "$arg"
342+
;;
337343
--wsrep[-_]on=*)
338344
if echo $val | grep -iq '\(ON\|1\)'; then
339345
wsrep_on=1
340346
else
341347
wsrep_on=0
342348
fi
349+
append_arg_to_args "$arg"
343350
;;
344351
--wsrep[-_]urls=*) wsrep_urls="$val"; ;;
345352
--wsrep[-_]provider=*)

0 commit comments

Comments
 (0)