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
This commit is contained in:
Daniel Black 2020-04-30 12:03:24 +10:00 committed by GitHub
parent 9b744ea0d3
commit de8c9b538f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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 };
}
}