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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
9457373c
Commit
9457373c
authored
Aug 16, 2005
by
kent@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mtr_process.pl:
Bug#12094: Let sleep_until_file_created() return the pid as intended
parent
6ffe45c5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
mysql-test/lib/mtr_process.pl
mysql-test/lib/mtr_process.pl
+2
-1
No files found.
mysql-test/lib/mtr_process.pl
View file @
9457373c
...
@@ -752,6 +752,7 @@ sub mtr_ping_mysqld_server () {
...
@@ -752,6 +752,7 @@ sub mtr_ping_mysqld_server () {
#
#
##############################################################################
##############################################################################
# FIXME check that the pidfile contains the expected pid!
sub
sleep_until_file_created
($$$)
{
sub
sleep_until_file_created
($$$)
{
my
$pidfile
=
shift
;
my
$pidfile
=
shift
;
...
@@ -762,7 +763,7 @@ sub sleep_until_file_created ($$$) {
...
@@ -762,7 +763,7 @@ sub sleep_until_file_created ($$$) {
{
{
if
(
-
r
$pidfile
)
if
(
-
r
$pidfile
)
{
{
return
1
;
return
$pid
;
}
}
# Check if it died after the fork() was successful
# Check if it died after the fork() was successful
...
...
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