mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Merge branch '11.1' into 11.2
This commit is contained in:
@@ -27,6 +27,7 @@ echo_c=
|
||||
basedir=
|
||||
defaults_file=
|
||||
defaults_extra_file=
|
||||
defaults_group_suffix=
|
||||
no_defaults=
|
||||
|
||||
case "$0" in
|
||||
@@ -58,6 +59,7 @@ parse_arguments()
|
||||
--basedir=*) basedir=`parse_arg "$arg"` ;;
|
||||
--defaults-file=*) defaults_file="$arg" ;;
|
||||
--defaults-extra-file=*) defaults_extra_file="$arg" ;;
|
||||
--defaults-group-suffix=*) defaults_group_suffix="$arg" ;;
|
||||
--no-defaults) no_defaults="$arg" ;;
|
||||
*)
|
||||
if test -n "$pick_args"
|
||||
@@ -190,7 +192,7 @@ fi
|
||||
|
||||
# Now we can get arguments from the group [client] and [client-server]
|
||||
# in the my.cfg file, then re-run to merge with command line arguments.
|
||||
parse_arguments `$print_defaults $defaults_file $defaults_extra_file $no_defaults client client-server client-mariadb`
|
||||
parse_arguments `$print_defaults $defaults_file $defaults_extra_file $defaults_group_suffix $no_defaults client client-server client-mariadb`
|
||||
parse_arguments PICK-ARGS-FROM-ARGV "$@"
|
||||
|
||||
set_echo_compat() {
|
||||
|
@@ -147,7 +147,12 @@ if (-e $config)
|
||||
|
||||
if (/(\S+)\s*=\s*(.*\S)/)
|
||||
{
|
||||
$config{lc $1} = $2 if exists $config{lc $1};
|
||||
my ($k, $v) = ($1, $2);
|
||||
if ($k =~ /^filter_/i) {
|
||||
$config{lc $k} = StringOrRegex($v) if exists $config{lc $k};
|
||||
} else {
|
||||
$config{lc $k} = $v if exists $config{lc $k};
|
||||
}
|
||||
}
|
||||
}
|
||||
close CFG;
|
||||
|
Reference in New Issue
Block a user