From de8c9b538f7e77f18470ccfcacf723a9c2e31b38 Mon Sep 17 00:00:00 2001 From: Daniel Black Date: Thu, 30 Apr 2020 12:03:24 +1000 Subject: [PATCH] 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 e3f5789ac0b23a16bb71e06b05dec9cfec3161f0 --- mysql-test/mysql-test-run.pl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mysql-test/mysql-test-run.pl b/mysql-test/mysql-test-run.pl index aa23d697944..920d66987e3 100755 --- a/mysql-test/mysql-test-run.pl +++ b/mysql-test/mysql-test-run.pl @@ -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 }; } }