diff options
Diffstat (limited to 'sql')
-rw-r--r-- | sql/threadpool_unix.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/threadpool_unix.cc b/sql/threadpool_unix.cc index b505ec3dff5..3a90f24f6e9 100644 --- a/sql/threadpool_unix.cc +++ b/sql/threadpool_unix.cc @@ -1173,7 +1173,7 @@ void wait_begin(thread_group_t *thread_group) DBUG_ASSERT(thread_group->connection_count > 0); if ((thread_group->active_thread_count == 0) && - (thread_group->queue.is_empty() || !thread_group->listener)) + (!thread_group->queue.is_empty() || !thread_group->listener)) { /* Group might stall while this thread waits, thus wake |