Skip to content

Commit

Permalink
Window , MTR : fix lookup for mysql_install_db.exe
Browse files Browse the repository at this point in the history
Fixes (rare) case when mysql-test is included into "noinstall" ZIP.
  • Loading branch information
vaintroub committed Sep 23, 2020
1 parent d7c8261 commit 8370a38
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mysql-test/mysql-test-run.pl
Original file line number Diff line number Diff line change
Expand Up @@ -2332,7 +2332,8 @@ sub environment_setup {
$ENV{'MYSQL_EMBEDDED'}= $exe_mysql_embedded;
if(IS_WINDOWS)
{
$ENV{'MYSQL_INSTALL_DB_EXE'}= mtr_exe_exists("$bindir/sql$opt_vs_config/mysql_install_db");
$ENV{'MYSQL_INSTALL_DB_EXE'}= mtr_exe_exists("$bindir/sql$opt_vs_config/mysql_install_db",
"$bindir/bin/mysql_install_db");
}

my $client_config_exe=
Expand Down

0 comments on commit 8370a38

Please sign in to comment.