diff options
Diffstat (limited to 'sql/threadpool_unix.cc')
-rw-r--r-- | sql/threadpool_unix.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/threadpool_unix.cc b/sql/threadpool_unix.cc index 5d46b8790c5..f1133b22cf5 100644 --- a/sql/threadpool_unix.cc +++ b/sql/threadpool_unix.cc @@ -463,7 +463,7 @@ static void timeout_check(pool_timer_t *timer) { /* Wait timeout exceeded, kill connection. */ mysql_mutex_lock(&thd->LOCK_thd_data); - thd->killed = KILL_CONNECTION; + thd->set_killed(KILL_CONNECTION); post_kill_notification(thd); mysql_mutex_unlock(&thd->LOCK_thd_data); } |