mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +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){
|
||||
my $result;
|
||||
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){
|
||||
my $result= 0;
|
||||
my $proc= My::SafeProcess->wait_any();
|
||||
|
Reference in New Issue
Block a user