summaryrefslogtreecommitdiff
path: root/sql/scheduler.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/scheduler.cc')
-rw-r--r--sql/scheduler.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/sql/scheduler.cc b/sql/scheduler.cc
index 95702dbb4e1..de472ae2504 100644
--- a/sql/scheduler.cc
+++ b/sql/scheduler.cc
@@ -39,7 +39,6 @@ static bool no_threads_end(THD *thd, bool put_in_cache)
{
unlink_thd(thd);
delete thd;
- dec_thread_count();
}
return 1; // Abort handle_one_connection
}