Fixed Bug#9834, "mysqld_multi --config-file parameter requires
absolute path".
This commit is contained in:
parent
d4d0f9c126
commit
c98b90bbfb
@ -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
|
|||||||
{
|
{
|
||||||
$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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user