diff options
author | Vladislav Vaintroub <wlad@mariadb.com> | 2021-01-27 14:17:43 +0100 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2021-01-29 18:02:14 +0200 |
commit | d8373fea5f099b694f0ab14e0d083388915de51c (patch) | |
tree | 36b795b3d43eeef4cb59fe582337640793ba2bbe /storage/innobase/srv | |
parent | c36720388d598ca3aa1c4d2dab2266656c528b50 (diff) | |
download | mariadb-git-d8373fea5f099b694f0ab14e0d083388915de51c.tar.gz |
MDEV-24685 - remove IO thread states output from SHOW ENGINE INNODB STATUS
There are no IO threads anymore.
Diffstat (limited to 'storage/innobase/srv')
-rw-r--r-- | storage/innobase/srv/srv0srv.cc | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/storage/innobase/srv/srv0srv.cc b/storage/innobase/srv/srv0srv.cc index 4daff1842e0..d1f34adeeae 100644 --- a/storage/innobase/srv/srv0srv.cc +++ b/storage/innobase/srv/srv0srv.cc @@ -389,12 +389,6 @@ my_bool innodb_encrypt_temporary_tables; my_bool srv_immediate_scrub_data_uncompressed; -/* Array of English strings describing the current state of an -i/o handler thread */ - -const char* srv_io_thread_op_info[SRV_MAX_N_IO_THREADS]; -const char* srv_io_thread_function[SRV_MAX_N_IO_THREADS]; - static time_t srv_last_monitor_time; static ib_mutex_t srv_innodb_monitor_mutex; @@ -617,33 +611,6 @@ srv_print_master_thread_info( srv_log_writes_and_flush); } -/*********************************************************************//** -Sets the info describing an i/o thread current state. */ -void -srv_set_io_thread_op_info( -/*======================*/ - ulint i, /*!< in: the 'segment' of the i/o thread */ - const char* str) /*!< in: constant char string describing the - state */ -{ - ut_a(i < SRV_MAX_N_IO_THREADS); - - srv_io_thread_op_info[i] = str; -} - -/*********************************************************************//** -Resets the info describing an i/o thread current state. */ -void -srv_reset_io_thread_op_info() -/*=========================*/ -{ - for (ulint i = 0; i < UT_ARR_SIZE(srv_io_thread_op_info); ++i) { - srv_io_thread_op_info[i] = "not started yet"; - } -} - - - static void thread_pool_thread_init() { my_thread_init(); |