maria-developers team mailing list archive
-
maria-developers team
-
Mailing list archive
-
Message #11795
Re: MariaDB 10.4 on AIX. Issue with: HAVE_POOL_OF_THREADS
Hi,
The issue is fixed by the attached patch.
Regards,
Tony
--- ./sql/mysqld.cc.ORIGIN 2019-04-16 17:04:43 -0500
+++ ./sql/mysqld.cc 2019-04-16 17:05:00 -0500
@@ -79,7 +79,9 @@
#include "proxy_protocol.h"
#include "sql_callback.h"
+#if defined(HAVE_POOL_OF_THREADS)
#include "threadpool.h"
+#endif
#ifdef HAVE_OPENSSL
#include <ssl_compat.h>
--- ./sql/CMakeLists.txt.ORIGIN 2019-04-16 17:17:54 -0500
+++ ./sql/CMakeLists.txt 2019-04-16 17:19:17 -0500
@@ -126,7 +126,7 @@
opt_index_cond_pushdown.cc opt_subselect.cc
opt_table_elimination.cc sql_expression_cache.cc
gcalc_slicescan.cc gcalc_tools.cc
- threadpool_common.cc ../sql-common/mysql_async.c
+ ../sql-common/mysql_async.c
my_apc.cc mf_iocache_encr.cc item_jsonfunc.cc
my_json_writer.cc
rpl_gtid.cc rpl_parallel.cc
@@ -161,6 +161,7 @@
SET(SQL_SOURCE ${SQL_SOURCE} threadpool_win.cc)
SET(SQL_SOURCE ${SQL_SOURCE} handle_connections_win.cc)
ENDIF()
+ SET(SQL_SOURCE ${SQL_SOURCE} threadpool_common.cc)
SET(SQL_SOURCE ${SQL_SOURCE} threadpool_generic.cc)
ENDIF()
References