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
b0c285bb
Commit
b0c285bb
authored
May 22, 2023
by
Monty
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove warning of not freed memory if mysqld aborts
Fixes warning when doing: ./sql/mariadbd --socket=/tmp/xxxx/ddd
parent
3bd10b57
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
sql/mysqld.cc
sql/mysqld.cc
+6
-0
No files found.
sql/mysqld.cc
View file @
b0c285bb
...
...
@@ -1714,6 +1714,11 @@ static void close_connections(void)
(
void
)
unlink
(
mysqld_unix_port
);
}
}
/*
The following is needed to the threads stuck in
setup_connection_thread_globals()
to continue.
*/
listen_sockets
.
free_memory
();
mysql_mutex_unlock
(
&
LOCK_start_thread
);
...
...
@@ -1999,6 +2004,7 @@ static void clean_up(bool print_message)
end_ssl
();
#ifndef EMBEDDED_LIBRARY
vio_end
();
listen_sockets
.
free_memory
();
#endif
/*!EMBEDDED_LIBRARY*/
#if defined(ENABLED_DEBUG_SYNC)
/* End the debug sync facility. See debug_sync.cc. */
...
...
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