Commit 7226989d authored by unknown's avatar unknown

Fixed Bug#9834, "mysqld_multi --config-file parameter requires

absolute path".

parent 5ac5febb
...@@ -66,6 +66,11 @@ sub main ...@@ -66,6 +66,11 @@ sub main
else else
{ {
$opt_config_file= $1; $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 ...@@ -82,7 +87,11 @@ sub main
{ {
$flag_exit= 1; $flag_exit= 1;
} }
if (!($opt_config_file =~ m/\//))
{
# No path. Use current working directory
$opt_config_file= "./" . $opt_config_file;
}
usage() if ($opt_help); usage() if ($opt_help);
if ($opt_verbose && $opt_silent) if ($opt_verbose && $opt_silent)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment