Skip to content

Commit a43faf6

Browse files
committed
Merge 10.1 into 10.2
2 parents a79c257 + 29d9df1 commit a43faf6

File tree

1 file changed

+4
-16
lines changed

1 file changed

+4
-16
lines changed

scripts/mysqld_safe.sh

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ numa_interleave=0
2323
wsrep_on=0
2424
dry_run=0
2525
defaults_group_suffix=
26-
ignore_unknown=1
2726

2827
# Initial logging status: error log is not open, and not using syslog
2928
logging=init
@@ -390,22 +389,11 @@ parse_arguments() {
390389

391390
--help) usage ;;
392391

393-
--ignore-unknown) ignore_unknown=1 ;;
394-
--no-ignore-unknown|--not-ignore-unknown) ignore_unknown=0 ;;
395-
396392
*)
397-
if test $ignore_unknown -eq 0
398-
then
399-
case "$unrecognized_handling" in
400-
collect) append_arg_to_args "$arg" ;;
401-
complain) log_error "unknown option '$arg'"
402-
esac
403-
else
404-
case "$arg" in
405-
"--loose-"*) append_arg_to_args "$arg" ;;
406-
*) append_arg_to_args "--loose-$arg"
407-
esac
408-
fi
393+
case "$unrecognized_handling" in
394+
collect) append_arg_to_args "$arg" ;;
395+
complain) log_error "unknown option '$arg'" ;;
396+
esac
409397
esac
410398
done
411399
}

0 commit comments

Comments
 (0)