summaryrefslogtreecommitdiff
path: root/sql/threadpool.h
diff options
context:
space:
mode:
authorVladislav Vaintroub <wlad@mariadb.com>2019-05-26 13:25:12 +0200
committerVladislav Vaintroub <wlad@mariadb.com>2019-05-26 19:20:35 +0200
commit2fc13d04d16f878ed693ad8ba56045b79ccb9650 (patch)
tree23cbb2dbe934d4879cae668b0164dbec0ba71503 /sql/threadpool.h
parent5f18bd3a3545bae97956fbbf4b29d2e9288a6505 (diff)
downloadmariadb-git-2fc13d04d16f878ed693ad8ba56045b79ccb9650.tar.gz
MDEV-19313 Threadpool : provide information schema tables for internals of generic threadpool
Added thread_pool_groups, thread_pool_queues, thread_pool_waits and thread_pool_stats tables to information_schema.
Diffstat (limited to 'sql/threadpool.h')
-rw-r--r--sql/threadpool.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/threadpool.h b/sql/threadpool.h
index 6299510d002..7d2c34e0363 100644
--- a/sql/threadpool.h
+++ b/sql/threadpool.h
@@ -64,8 +64,6 @@ extern int tp_get_thread_count();
/* Activate threadpool scheduler */
extern void tp_scheduler(void);
-extern int show_threadpool_idle_threads(THD *thd, SHOW_VAR *var, char *buff,
- enum enum_var_type scope);
enum TP_PRIORITY {
TP_PRIORITY_HIGH,
@@ -88,6 +86,8 @@ enum TP_STATE
inside threadpool_win.cc and threadpool_unix.cc
*/
+class CONNECT;
+
struct TP_connection
{
THD* thd;