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
2d40d521
Commit
2d40d521
authored
Apr 21, 2008
by
msvensson@pilot.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix valgrind warnings
parent
761b355d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
client/mysqltest.c
client/mysqltest.c
+3
-0
No files found.
client/mysqltest.c
View file @
2d40d521
...
...
@@ -3871,6 +3871,7 @@ void do_shutdown_server(struct st_command *command)
if
(
timeout
==
0
)
die
(
"Illegal argument for timeout: '%s'"
,
ds_timeout
.
str
);
}
dynstr_free
(
&
ds_timeout
);
/* Get the servers pid_file name and use it to read pid */
if
(
query_get_string
(
mysql
,
"SHOW VARIABLES LIKE 'pid_file'"
,
1
,
...
...
@@ -3897,6 +3898,8 @@ void do_shutdown_server(struct st_command *command)
}
DBUG_PRINT
(
"info"
,
(
"Read pid %d from '%s'"
,
pid
,
ds_pidfile_name
.
str
));
my_close
(
fd
,
MYF
(
0
));
dynstr_free
(
&
ds_pidfile_name
);
}
DBUG_PRINT
(
"info"
,
(
"Got pid %d"
,
pid
));
...
...
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