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
a6fac7c9
Commit
a6fac7c9
authored
Aug 22, 2002
by
jani@rhols221.adsl.netsonic.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed a bug in mysqladmin when it gave unneccessary warning
in shutdown operation.
parent
8388548a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
client/mysqladmin.c
client/mysqladmin.c
+2
-1
No files found.
client/mysqladmin.c
View file @
a6fac7c9
...
@@ -1121,7 +1121,8 @@ static void wait_pidfile(char *pidfile, time_t last_modified,
...
@@ -1121,7 +1121,8 @@ static void wait_pidfile(char *pidfile, time_t last_modified,
(
!
last_modified
||
(
last_modified
==
pidfile_status
->
st_mtime
))
&&
(
!
last_modified
||
(
last_modified
==
pidfile_status
->
st_mtime
))
&&
(
fd
=
my_open
(
buff
,
O_RDONLY
,
MYF
(
0
)))
>=
0
)
(
fd
=
my_open
(
buff
,
O_RDONLY
,
MYF
(
0
)))
>=
0
)
{
{
my_close
(
fd
,
MYF
(
0
));
if
(
!
my_close
(
fd
,
MYF
(
0
)))
fd
=
-
1
;
sleep
(
1
);
sleep
(
1
);
if
(
last_modified
&&
stat
(
pidfile
,
pidfile_status
))
if
(
last_modified
&&
stat
(
pidfile
,
pidfile_status
))
last_modified
=
0
;
last_modified
=
0
;
...
...
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