From 7226989dc92f969c0dd993296451393d47fe5ca4 Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 26 Apr 2005 17:46:43 +0300 Subject: [PATCH] Fixed Bug#9834, "mysqld_multi --config-file parameter requires absolute path". --- scripts/mysqld_multi.sh | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/scripts/mysqld_multi.sh b/scripts/mysqld_multi.sh index 8c363836a25..19434c3dc27 100644 --- a/scripts/mysqld_multi.sh +++ b/scripts/mysqld_multi.sh @@ -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)