summaryrefslogtreecommitdiff
path: root/sql/threadpool.h
diff options
context:
space:
mode:
Diffstat (limited to 'sql/threadpool.h')
-rw-r--r--sql/threadpool.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/sql/threadpool.h b/sql/threadpool.h
index 2b0d09c0d6d..a3ecca3302b 100644
--- a/sql/threadpool.h
+++ b/sql/threadpool.h
@@ -46,11 +46,10 @@ extern TP_STATISTICS tp_stats;
/* Functions to set threadpool parameters */
extern void tp_set_min_threads(uint val);
extern void tp_set_max_threads(uint val);
-extern int tp_set_threadpool_size(uint val);
+extern void tp_set_threadpool_size(uint val);
extern void tp_set_threadpool_stall_limit(uint val);
/* Activate threadpool scheduler */
extern void tp_scheduler(void);
extern int show_threadpool_idle_threads(THD *thd, SHOW_VAR *var, char *buff);
-