Commit 9675ddc9 authored by Sergei Golubchik's avatar Sergei Golubchik

MDEV-4670 THD::awake bug with my_sleep call

parent 03c71ff2
...@@ -1679,8 +1679,8 @@ void THD::awake(killed_state state_to_set) ...@@ -1679,8 +1679,8 @@ void THD::awake(killed_state state_to_set)
mysql_mutex_unlock(mysys_var->current_mutex); mysql_mutex_unlock(mysys_var->current_mutex);
break; break;
} }
my_sleep(1000000L / WAIT_FOR_KILL_TRY_TIMES);
} }
my_sleep(1000000L / WAIT_FOR_KILL_TRY_TIMES);
} }
mysql_mutex_unlock(&mysys_var->mutex); mysql_mutex_unlock(&mysys_var->mutex);
} }
......
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