Commit 926498b0 authored by Vasil Dimov's avatar Vasil Dimov

Merge mysql-trunk-innodb from bk-internal locally

parents c88f2f61 50121bbb
...@@ -3082,9 +3082,13 @@ srv_purge_thread( ...@@ -3082,9 +3082,13 @@ srv_purge_thread(
srv_sync_log_buffer_in_background(); srv_sync_log_buffer_in_background();
} }
mutex_enter(&kernel_mutex);
/* Decrement the active count. */ /* Decrement the active count. */
srv_suspend_thread(); srv_suspend_thread();
mutex_exit(&kernel_mutex);
/* Free the thread local memory. */ /* Free the thread local memory. */
thr_local_free(os_thread_get_curr_id()); thr_local_free(os_thread_get_curr_id());
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment