mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Return immediately from 'check-testcase' and 'check_warnings' if no
check processes has been started
This commit is contained in:
@@ -2588,6 +2588,9 @@ sub check_testcase($$)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Return immediately if no check proceess was started
|
||||||
|
return 0 unless ( keys %started );
|
||||||
|
|
||||||
while (1){
|
while (1){
|
||||||
my $result;
|
my $result;
|
||||||
my $proc= My::SafeProcess->wait_any();
|
my $proc= My::SafeProcess->wait_any();
|
||||||
@@ -3024,6 +3027,9 @@ sub check_warnings ($) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Return immediately if no check proceess was started
|
||||||
|
return 0 unless ( keys %started );
|
||||||
|
|
||||||
while (1){
|
while (1){
|
||||||
my $result= 0;
|
my $result= 0;
|
||||||
my $proc= My::SafeProcess->wait_any();
|
my $proc= My::SafeProcess->wait_any();
|
||||||
|
Reference in New Issue
Block a user