Commit 8ccbb421 authored by Sunny Bains's avatar Sunny Bains

Revert a change that should have been a part of 3008.2.76..3008.2.78.

parent c9a66cdf
......@@ -2371,30 +2371,6 @@ srv_error_monitor_thread(
OS_THREAD_DUMMY_RETURN;
}
/******************************************************************//**
Increment the server activity count. */
UNIV_INLINE
void
srv_inc_activity_count_low(void)
/*============================*/
{
mutex_enter(&kernel_mutex);
++srv_activity_count;
mutex_exit(&kernel_mutex);
}
/******************************************************************//**
Increment the server activity count. */
UNIV_INTERN
void
srv_inc_activity_count(void)
/*========================*/
{
srv_inc_activity_count_low();
}
/**********************************************************************//**
Check whether any background thread is active.
@return FALSE if all are are suspended or have exited. */
......@@ -2431,9 +2407,7 @@ void
srv_active_wake_master_thread(void)
/*===============================*/
{
ut_ad(!mutex_own(&kernel_mutex));
srv_inc_activity_count_low();
srv_activity_count++;
if (srv_n_threads_active[SRV_MASTER] == 0) {
......
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