summaryrefslogtreecommitdiff
path: root/tpool
diff options
context:
space:
mode:
authorMonty <monty@mariadb.org>2020-11-24 16:45:26 +0200
committerMonty <monty@mariadb.org>2020-11-26 19:13:37 +0200
commit279b5f87de44817fe14509b9d880a84d8730bc42 (patch)
tree488e4c90d61850118f8284a6b12a0309ebc3b454 /tpool
parent55f734ed878f2e2e3ad1ca31838b85039e6d67c4 (diff)
downloadmariadb-git-279b5f87de44817fe14509b9d880a84d8730bc42.tar.gz
Avoid some DBUG prints from idle server in thread pool
Diffstat (limited to 'tpool')
-rw-r--r--tpool/tpool_generic.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/tpool/tpool_generic.cc b/tpool/tpool_generic.cc
index 98237063ec2..e508c84f442 100644
--- a/tpool/tpool_generic.cc
+++ b/tpool/tpool_generic.cc
@@ -305,8 +305,10 @@ public:
std::unique_lock<std::mutex> lk(m_mtx);
if (m_on)
{
+ DBUG_PUSH_EMPTY;
thr_timer_end(this);
thr_timer_settime(this, 1000ULL * m_period);
+ DBUG_POP_EMPTY;
}
}
}