From c82af17f2df41534069bd301d355b7af646efb06 Mon Sep 17 00:00:00 2001 From: Winston-leon <1871056255@qq.com> Date: Thu, 28 Apr 2022 12:43:56 +0800 Subject: [PATCH] * Provide threadpool plugin for mysql-8.0.25 -Fix "FALSE" incompatibility problem --- plugin/thread_pool/threadpool_unix.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/thread_pool/threadpool_unix.cc b/plugin/thread_pool/threadpool_unix.cc index 9fca0207452a..b0a2a61a70b2 100644 --- a/plugin/thread_pool/threadpool_unix.cc +++ b/plugin/thread_pool/threadpool_unix.cc @@ -155,7 +155,7 @@ int vio_cancel(Vio *vio, int how) int r= 0; DBUG_ENTER("vio_cancel"); - if (vio->inactive == FALSE) + if (vio->inactive == false) { assert(vio->type == VIO_TYPE_TCPIP || vio->type == VIO_TYPE_SOCKET ||