mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Fixed Bug#9834, "mysqld_multi --config-file parameter requires
absolute path".
This commit is contained in:
@ -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)
|
||||||
|
Reference in New Issue
Block a user