Skip to content

Commit 8370a38

Browse files
committed
Window , MTR : fix lookup for mysql_install_db.exe
Fixes (rare) case when mysql-test is included into "noinstall" ZIP.
1 parent d7c8261 commit 8370a38

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

mysql-test/mysql-test-run.pl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2332,7 +2332,8 @@ sub environment_setup {
23322332
$ENV{'MYSQL_EMBEDDED'}= $exe_mysql_embedded;
23332333
if(IS_WINDOWS)
23342334
{
2335-
$ENV{'MYSQL_INSTALL_DB_EXE'}= mtr_exe_exists("$bindir/sql$opt_vs_config/mysql_install_db");
2335+
$ENV{'MYSQL_INSTALL_DB_EXE'}= mtr_exe_exists("$bindir/sql$opt_vs_config/mysql_install_db",
2336+
"$bindir/bin/mysql_install_db");
23362337
}
23372338

23382339
my $client_config_exe=

0 commit comments

Comments
 (0)