From 66b30806a517acfeb528482404b658739f89609e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Canna=C3=B2?= Date: Fri, 7 Jan 2022 00:56:52 +0100 Subject: [PATCH] Removing a comment --- lib/MySQL_Thread.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/MySQL_Thread.cpp b/lib/MySQL_Thread.cpp index 11a93fa1f..94bba7c7a 100644 --- a/lib/MySQL_Thread.cpp +++ b/lib/MySQL_Thread.cpp @@ -2965,7 +2965,7 @@ void MySQL_Thread::ProcessAllMyDS_BeforePoll() { #ifdef IDLE_THREADS if (GloVars.global.idle_threads) { if (curtime > last_move_to_idle_thread_time + (unsigned long long)mysql_thread___session_idle_ms * 1000) { - last_move_to_idle_thread_time=curtime; + last_move_to_idle_thread_time=curtime; check_if_move_to_idle_thread=true; } } @@ -2976,7 +2976,6 @@ void MySQL_Thread::ProcessAllMyDS_BeforePoll() { mypolls.fds[n].revents=0; if (myds) { #ifdef IDLE_THREADS - //if (GloVars.global.idle_threads) { if (check_if_move_to_idle_thread == true) { // here we try to move it to the maintenance thread if (myds->myds_type==MYDS_FRONTEND && myds->sess) {