Fixed Bug#9834, "mysqld_multi --config-file parameter requires
absolute path".
This commit is contained in:
parent
5ac5febb1d
commit
7226989dc9
@ -66,6 +66,11 @@ sub main
|
||||
else
|
||||
{
|
||||
$opt_config_file= $1;
|
||||
if (!($opt_config_file =~ m/\//))
|
||||
{
|
||||
# No path. Use current working directory
|
||||
$opt_config_file= "./" . $opt_config_file;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -82,7 +87,11 @@ sub main
|
||||
{
|
||||
$flag_exit= 1;
|
||||
}
|
||||
|
||||
if (!($opt_config_file =~ m/\//))
|
||||
{
|
||||
# No path. Use current working directory
|
||||
$opt_config_file= "./" . $opt_config_file;
|
||||
}
|
||||
usage() if ($opt_help);
|
||||
|
||||
if ($opt_verbose && $opt_silent)
|
||||
|
Loading…
x
Reference in New Issue
Block a user