Bug #43256 Bug#39026 got re-surrected

Problems with use of share/mysql dir
Explicitly look for "english" language file
This commit is contained in:
Bjorn Munch 2009-02-27 13:07:01 +01:00
parent 00e09900e9
commit a892ad5c62

View file

@ -932,12 +932,12 @@ sub command_line_setup {
}
# Look for language files and charsetsdir, use same share
my $path_share= mtr_path_exists("$basedir/share/mysql",
"$basedir/sql/share",
"$basedir/share");
$path_language= mtr_path_exists("$basedir/share/mysql/english",
"$basedir/sql/share/english",
"$basedir/share/english");
$path_language= mtr_path_exists("$path_share/english");
my $path_share= dirname($path_language);
$path_charsetsdir= mtr_path_exists("$path_share/charsets");
if (using_extern())