diff options
author | Vladislav Vaintroub <wlad@montyprogram.com> | 2012-02-17 03:34:33 +0100 |
---|---|---|
committer | Vladislav Vaintroub <wlad@montyprogram.com> | 2012-02-17 03:34:33 +0100 |
commit | e0a500eba3193b2b2211fda3300914d7430846ce (patch) | |
tree | 3db59ea30e40305e4060e8c3a8ebf72406b2640b /sql/sys_vars.cc | |
parent | dabb963934cc1ca5abeb5a9c49f2574fdfedb2d2 (diff) | |
download | mariadb-git-e0a500eba3193b2b2211fda3300914d7430846ce.tar.gz |
fix windows embedded (default thread handling ==pool-of-threads does not work in embedded)
Diffstat (limited to 'sql/sys_vars.cc')
-rw-r--r-- | sql/sys_vars.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sys_vars.cc b/sql/sys_vars.cc index 89f95ccf1ed..231aa651603 100644 --- a/sql/sys_vars.cc +++ b/sql/sys_vars.cc @@ -1815,7 +1815,7 @@ static const char *thread_handling_names[]= 0 }; -#ifdef _WIN32 +#if defined (_WIN32) && defined (HAVE_POOL_OF_THREADS) /* Windows is using OS threadpool, so we're pretty sure it works well */ #define DEFAULT_THREAD_HANDLING 2 #else |