diff options
author | Vladislav Vaintroub <wlad@mariadb.com> | 2019-05-26 13:25:12 +0200 |
---|---|---|
committer | Vladislav Vaintroub <wlad@mariadb.com> | 2019-05-26 19:20:35 +0200 |
commit | 2fc13d04d16f878ed693ad8ba56045b79ccb9650 (patch) | |
tree | 23cbb2dbe934d4879cae668b0164dbec0ba71503 /sql/threadpool.h | |
parent | 5f18bd3a3545bae97956fbbf4b29d2e9288a6505 (diff) | |
download | mariadb-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.h | 4 |
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; |