summaryrefslogtreecommitdiff
path: root/sql/sys_vars.cc
diff options
context:
space:
mode:
authorMonty <monty@mariadb.org>2016-10-02 18:42:39 +0300
committerMonty <monty@mariadb.org>2016-10-05 01:11:08 +0300
commitc1125c32183042a2f7be433d2c10e499f843d82c (patch)
tree78561063946bdbf51a30c0712f00e6e5ac7543a6 /sql/sys_vars.cc
parent7b96416f3c43f02240864f378513330b85f49521 (diff)
downloadmariadb-git-c1125c32183042a2f7be433d2c10e499f843d82c.tar.gz
Fixed compiler warnings and failing tests
Diffstat (limited to 'sql/sys_vars.cc')
-rw-r--r--sql/sys_vars.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/sys_vars.cc b/sql/sys_vars.cc
index e88ec1e374f..3e6a06c3ab0 100644
--- a/sql/sys_vars.cc
+++ b/sql/sys_vars.cc
@@ -3247,11 +3247,13 @@ static bool fix_tp_max_threads(sys_var *, THD *, enum_var_type)
}
+#ifdef _WIN32
static bool fix_tp_min_threads(sys_var *, THD *, enum_var_type)
{
tp_set_min_threads(threadpool_min_threads);
return false;
}
+#endif
static bool check_threadpool_size(sys_var *self, THD *thd, set_var *var)
{