diff options
author | Sergei Golubchik <sergii@pisem.net> | 2014-07-25 14:15:33 +0200 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2014-07-25 14:15:33 +0200 |
commit | be667b8c42f9d67f61409be594603d73f007d405 (patch) | |
tree | 57730dcf5de83fe49c3dfce14d585b953c5e2277 /sql/scheduler.h | |
parent | 44aacfc5c36453b6ca2a22f4795f774f579f058c (diff) | |
download | mariadb-git-be667b8c42f9d67f61409be594603d73f007d405.tar.gz |
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
Diffstat (limited to 'sql/scheduler.h')
-rw-r--r-- | sql/scheduler.h | 5 |
1 files changed, 2 insertions, 3 deletions
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 */ |