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
ac1efb1a
Commit
ac1efb1a
authored
Oct 13, 2010
by
Jimmy Yang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Bug #57397 io_handler_thread() will never cleanup
rb://483
approved by Inaam
parent
1c5021d7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
storage/innodb_plugin/ChangeLog
storage/innodb_plugin/ChangeLog
+4
-0
storage/innodb_plugin/srv/srv0start.c
storage/innodb_plugin/srv/srv0start.c
+2
-4
No files found.
storage/innodb_plugin/ChangeLog
View file @
ac1efb1a
2010-10-14 The InnoDB Team
* srv/srv0start.c
Fix Bug #57397 io_handler_thread() will never cleanup
2010-10-11 The InnoDB Team
2010-10-11 The InnoDB Team
* row/row0sel.c
* row/row0sel.c
Fix Bug #57345 btr_pcur_store_position abort for load with
Fix Bug #57345 btr_pcur_store_position abort for load with
...
...
storage/innodb_plugin/srv/srv0start.c
View file @
ac1efb1a
...
@@ -471,7 +471,7 @@ io_handler_thread(
...
@@ -471,7 +471,7 @@ io_handler_thread(
fprintf
(
stderr
,
"Io handler thread %lu starts, id %lu
\n
"
,
segment
,
fprintf
(
stderr
,
"Io handler thread %lu starts, id %lu
\n
"
,
segment
,
os_thread_pf
(
os_thread_get_curr_id
()));
os_thread_pf
(
os_thread_get_curr_id
()));
#endif
#endif
for
(
i
=
0
;;
i
++
)
{
while
(
srv_shutdown_state
!=
SRV_SHUTDOWN_EXIT_THREADS
)
{
fil_aio_wait
(
segment
);
fil_aio_wait
(
segment
);
mutex_enter
(
&
ios_mutex
);
mutex_enter
(
&
ios_mutex
);
...
@@ -479,8 +479,6 @@ io_handler_thread(
...
@@ -479,8 +479,6 @@ io_handler_thread(
mutex_exit
(
&
ios_mutex
);
mutex_exit
(
&
ios_mutex
);
}
}
thr_local_free
(
os_thread_get_curr_id
());
/* We count the number of threads in os_thread_exit(). A created
/* We count the number of threads in os_thread_exit(). A created
thread should always use that to exit and not use return() to exit.
thread should always use that to exit and not use return() to exit.
The thread actually never comes here because it is exited in an
The thread actually never comes here because it is exited in an
...
@@ -1894,7 +1892,7 @@ innobase_shutdown_for_mysql(void)
...
@@ -1894,7 +1892,7 @@ innobase_shutdown_for_mysql(void)
#ifdef __NETWARE__
#ifdef __NETWARE__
if
(
!
panic_shutdown
)
if
(
!
panic_shutdown
)
#endif
#endif
logs_empty_and_mark_files_at_shutdown
();
logs_empty_and_mark_files_at_shutdown
();
if
(
srv_conc_n_threads
!=
0
)
{
if
(
srv_conc_n_threads
!=
0
)
{
fprintf
(
stderr
,
fprintf
(
stderr
,
...
...
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