diff options
author | Alexander Barkov <bar@mnogosearch.org> | 2014-02-27 19:44:00 +0400 |
---|---|---|
committer | Alexander Barkov <bar@mnogosearch.org> | 2014-02-27 19:44:00 +0400 |
commit | 57cdc561fc2b97c3d1d2b318fc0fa2410568c3d6 (patch) | |
tree | 8d61425ec6fed1b66faa46c1ad7ac1bc080df71e /sql/threadpool_unix.cc | |
parent | 11826b1bcfc2280e36a72c1516443c9b400edec2 (diff) | |
download | mariadb-git-57cdc561fc2b97c3d1d2b318fc0fa2410568c3d6.tar.gz |
Fixing AIX compilation failires
Diffstat (limited to 'sql/threadpool_unix.cc')
-rw-r--r-- | sql/threadpool_unix.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sql/threadpool_unix.cc b/sql/threadpool_unix.cc index f0454cfedb0..68c032fb67b 100644 --- a/sql/threadpool_unix.cc +++ b/sql/threadpool_unix.cc @@ -19,6 +19,9 @@ #include <sql_class.h> #include <my_pthread.h> #include <scheduler.h> + +#ifdef HAVE_POOL_OF_THREADS + #include <sql_connect.h> #include <mysqld.h> #include <debug_sync.h> @@ -1678,3 +1681,5 @@ static void print_pool_blocked_message(bool max_threads_reached) msg_written= true; } } + +#endif /* HAVE_POOL_OF_THREADS */ |