mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Fix mysql-test-run on windows:
Make it not to add '--console' when '--log-error' option is present - Review feedback
This commit is contained in:
@ -4433,7 +4433,7 @@ sub mysqld_start ($$) {
|
||||
if (IS_WINDOWS)
|
||||
{
|
||||
# Trick the server to send output to stderr, with --console
|
||||
if (!(join(' ', @$args) =~ /--log-error/)) {
|
||||
if (!(grep(/^--log-error/, @$args))) {
|
||||
mtr_add_arg($args, "--console");
|
||||
}
|
||||
}
|
||||
@ -5058,7 +5058,7 @@ sub start_mysqltest ($) {
|
||||
if (IS_WINDOWS)
|
||||
{
|
||||
# Trick the server to send output to stderr, with --console
|
||||
if (!(join(' ', @$args) =~ /--log-error/)) {
|
||||
if (!(grep(/^--server-arg=--log-error/, @$args))) {
|
||||
mtr_add_arg($args, "--server-arg=--console");
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user