diff options
author | Vladislav Vaintroub <wlad@montyprogram.com> | 2012-01-27 19:52:53 +0100 |
---|---|---|
committer | Vladislav Vaintroub <wlad@montyprogram.com> | 2012-01-27 19:52:53 +0100 |
commit | 804f3bfeafd922eceda856d9539e6ebc79e72b16 (patch) | |
tree | 152fd76fd4cf996ce2cdc2bcffca7feb59540382 /sql/threadpool_common.cc | |
parent | c5c32972ecf004fa2523c8f20171e6298ac97dc1 (diff) | |
download | mariadb-git-804f3bfeafd922eceda856d9539e6ebc79e72b16.tar.gz |
Threadpool : Rest of monty's review
Diffstat (limited to 'sql/threadpool_common.cc')
-rw-r--r-- | sql/threadpool_common.cc | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sql/threadpool_common.cc b/sql/threadpool_common.cc index dc8ef9f6cfd..fd641b45faa 100644 --- a/sql/threadpool_common.cc +++ b/sql/threadpool_common.cc @@ -158,10 +158,6 @@ void threadpool_remove_connection(THD *thd) end_connection(thd); close_connection(thd, 0); - mysql_mutex_lock(&thd->LOCK_thd_data); - thd->event_scheduler.data= NULL; - mysql_mutex_unlock(&thd->LOCK_thd_data); - unlink_thd(thd); mysql_mutex_unlock(&LOCK_thread_count); mysql_cond_broadcast(&COND_thread_count); |