Commit 0ad0827f authored by Vasil Dimov's avatar Vasil Dimov

Merge mysql-trunk-innodb from bk-internal locally

parents 2d299d84 49f5ce6d
......@@ -3082,9 +3082,13 @@ srv_purge_thread(
srv_sync_log_buffer_in_background();
}
mutex_enter(&kernel_mutex);
/* Decrement the active count. */
srv_suspend_thread();
mutex_exit(&kernel_mutex);
/* Free the thread local memory. */
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