summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Black <daniel@linux.ibm.com>2020-04-30 12:03:24 +1000
committerGitHub <noreply@github.com>2020-04-30 04:03:24 +0200
commitde8c9b538f7e77f18470ccfcacf723a9c2e31b38 (patch)
tree9789c9ba55882c59c4108fd7b3e168f0ee373d5b
parent9b744ea0d34c650a4bd992bc0d5b486bd165123a (diff)
downloadmariadb-git-de8c9b538f7e77f18470ccfcacf723a9c2e31b38.tar.gz
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
-rwxr-xr-xmysql-test/mysql-test-run.pl2
1 files changed, 2 insertions, 0 deletions
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 };
}
}