Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
8c680d84
Commit
8c680d84
authored
Oct 10, 2008
by
Magnus Svensson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
WL#41890 After review fixes, remove unecessary if's
parent
48ad37cf
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
8 deletions
+1
-8
mysql-test/lib/My/SafeProcess.pm
mysql-test/lib/My/SafeProcess.pm
+1
-8
No files found.
mysql-test/lib/My/SafeProcess.pm
View file @
8c680d84
...
...
@@ -501,13 +501,6 @@ sub wait_any {
last
if
$pid
==
$ret_pid
;
}
}
while
(
$ret_pid
==
0
);
# Special processig of return code
# since negative pids are valid
if
(
$ret_pid
==
0
or
$ret_pid
==
-
1
)
{
print
STDERR
"
wait_any, got invalid pid:
$ret_pid
\n
";
return
undef
;
}
}
else
{
...
...
@@ -522,7 +515,7 @@ sub wait_any {
# Look it up in "running" table
my
$proc
=
$running
{
$ret_pid
};
unless
(
defined
$proc
){
print
STDERR
"
Could not find pid in running list
\n
";
print
STDERR
"
Could not find pid
:
$ret_pid
in running list
\n
";
print
STDERR
"
running:
"
.
join
("
,
",
keys
(
%
running
))
.
"
\n
";
return
undef
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment