MDEV-4670 THD::awake bug with my_sleep call

This commit is contained in:
Sergei Golubchik 2013-07-01 12:03:10 +02:00
parent 03c71ff2ba
commit 9675ddc9a2

View File

@ -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);
} }