summaryrefslogtreecommitdiff
path: root/sql/threadpool.h
diff options
context:
space:
mode:
authorMonty <monty@mariadb.org>2015-02-01 15:24:22 +0200
committerMonty <monty@mariadb.org>2015-02-01 15:24:22 +0200
commit0ee879ff8ac1b80cd9a963015344f5698a81f309 (patch)
treec787536b279abd6fce40f8f624af2593ddf83403 /sql/threadpool.h
parent67b24a2374fed4a7533d14cc443afa0f4e9febc7 (diff)
downloadmariadb-git-0ee879ff8ac1b80cd9a963015344f5698a81f309.tar.gz
Improve performance for calculating memory allocation
Extend interface for 'show variables' with current scope
Diffstat (limited to 'sql/threadpool.h')
-rw-r--r--sql/threadpool.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/threadpool.h b/sql/threadpool.h
index c080e5ba343..50dee35511b 100644
--- a/sql/threadpool.h
+++ b/sql/threadpool.h
@@ -67,4 +67,5 @@ 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);
+extern int show_threadpool_idle_threads(THD *thd, SHOW_VAR *var, char *buff,
+ enum enum_var_type scope);