mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +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:
@ -380,6 +380,8 @@ my $set_titlebar;
|
|||||||
$have_win32_console = 1;
|
$have_win32_console = 1;
|
||||||
};
|
};
|
||||||
eval 'sub HAVE_WIN32_CONSOLE { $have_win32_console }';
|
eval 'sub HAVE_WIN32_CONSOLE { $have_win32_console }';
|
||||||
|
} else {
|
||||||
|
sub HAVE_WIN32_CONSOLE { 0 };
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user