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
cfda0a16
Commit
cfda0a16
authored
May 30, 2003
by
heikki@hundin.mysql.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
srv0start.c:
Cleanup
parent
d1759530
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
12 deletions
+1
-12
innobase/srv/srv0start.c
innobase/srv/srv0start.c
+1
-12
No files found.
innobase/srv/srv0start.c
View file @
cfda0a16
...
@@ -1549,13 +1549,6 @@ innobase_shutdown_for_mysql(void)
...
@@ -1549,13 +1549,6 @@ innobase_shutdown_for_mysql(void)
}
}
#if defined(__NETWARE__) || defined(SAFE_MUTEX_DETECT_DESTROY)
#if defined(__NETWARE__) || defined(SAFE_MUTEX_DETECT_DESTROY)
/*
TODO: Fix this temporary solution
We are having a race condition occure with io_handler_thread threads.
When they yield in os_aio_simulated_handle during shutdown, this
thread was able to free the memory early.
*/
os_thread_yield
();
/* TODO: Where should this be called? */
/* TODO: Where should this be called? */
srv_free
();
srv_free
();
...
@@ -1563,11 +1556,7 @@ innobase_shutdown_for_mysql(void)
...
@@ -1563,11 +1556,7 @@ innobase_shutdown_for_mysql(void)
/* TODO: Where should this be called? */
/* TODO: Where should this be called? */
srv_general_free
();
srv_general_free
();
#endif
#endif
/*
TODO: We should exit the i/o-handler and other utility threads
before freeing all memory. Now this can potentially cause a seg
fault!
*/
#if defined(NOT_WORKING_YET) || defined(__NETWARE__) || defined(SAFE_MUTEX_DETECT_DESTROY)
#if defined(NOT_WORKING_YET) || defined(__NETWARE__) || defined(SAFE_MUTEX_DETECT_DESTROY)
/* NetWare requires this free */
/* NetWare requires this free */
ut_free_all_mem
();
ut_free_all_mem
();
...
...
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