Skip to content

Commit

Permalink
mysql-test-run.pl - fix strict subs in HAVE_WIN32_CONSOLE (#1521)
Browse files Browse the repository at this point in the history
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 e3f5789
  • Loading branch information
grooverdan committed Apr 30, 2020
1 parent 9b744ea commit de8c9b5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mysql-test/mysql-test-run.pl
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,8 @@ ($)
$have_win32_console = 1;
};
eval 'sub HAVE_WIN32_CONSOLE { $have_win32_console }';
} else {
sub HAVE_WIN32_CONSOLE { 0 };
}
}

Expand Down

0 comments on commit de8c9b5

Please sign in to comment.