Commit efa9079f authored by Vicențiu Ciorbaru's avatar Vicențiu Ciorbaru

Fix compilation error due to type mismatch in tpool_generic.cc

size_t compared to int
parent ad17aa11
......@@ -713,7 +713,7 @@ void thread_pool_generic::maybe_wake_or_create_thread()
{
if (m_task_queue.empty())
return;
DBUG_ASSERT(m_active_threads.size() >= m_long_tasks_count + m_waiting_task_count);
DBUG_ASSERT(m_active_threads.size() >= static_cast<size_t>(m_long_tasks_count + m_waiting_task_count));
if (m_active_threads.size() - m_long_tasks_count - m_waiting_task_count > m_concurrency)
return;
if (!m_standby_threads.empty())
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment