From be667b8c42f9d67f61409be594603d73f007d405 Mon Sep 17 00:00:00 2001 From: Sergei Golubchik Date: Fri, 25 Jul 2014 14:15:33 +0200 Subject: MDEV-5706 MariaDB does not build on hurd-i386 backport from 10.0 the fix for: MDEV-5756 CMake option to build without thread pool --- sql/scheduler.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'sql/scheduler.h') diff --git a/sql/scheduler.h b/sql/scheduler.h index 4e200e86d74..f7aff377eac 100644 --- a/sql/scheduler.h +++ b/sql/scheduler.h @@ -99,14 +99,13 @@ public: void *data; /* scheduler-specific data structure */ }; -#if !defined(EMBEDDED_LIBRARY) -#define HAVE_POOL_OF_THREADS 1 +#ifdef HAVE_POOL_OF_THREADS void pool_of_threads_scheduler(scheduler_functions* func, ulong *arg_max_connections, uint *arg_connection_count); #else #define pool_of_threads_scheduler(A,B,C) \ one_thread_per_connection_scheduler(A, B, C) -#endif +#endif /*HAVE_POOL_OF_THREADS*/ #endif /* SCHEDULER_INCLUDED */ -- cgit v1.2.1