1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

mysql-test-run.pl - fix strict subs in HAVE_WIN32_CONSOLE (#1521)

Fix mtr error:

Bareword "HAVE_WIN32_CONSOLE" not allowed while "strict subs" in use at mysql-test-run.pl line 387.
Execution of mysql-test-run.pl aborted due to compilation errors.

Added in e3f5789ac0
This commit is contained in:
Daniel Black
2020-04-30 12:03:24 +10:00
committed by GitHub
parent 9b744ea0d3
commit de8c9b538f

View File

@ -380,6 +380,8 @@ my $set_titlebar;
$have_win32_console = 1;
};
eval 'sub HAVE_WIN32_CONSOLE { $have_win32_console }';
} else {
sub HAVE_WIN32_CONSOLE { 0 };
}
}