diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2022-11-14 14:01:37 +0200 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2022-11-14 14:01:37 +0200 |
commit | ee7fba17491690341763466c627ae5fada9724d8 (patch) | |
tree | 8baa29dbb73cebdb72f54a38eb21d85549cd9887 | |
parent | e0e096faaad2aee1717a955c2b4b9100f1ed7749 (diff) | |
download | mariadb-git-ee7fba17491690341763466c627ae5fada9724d8.tar.gz |
MDEV-16264 fixup: Remove unused variables
-rw-r--r-- | storage/innobase/srv/srv0srv.cc | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/storage/innobase/srv/srv0srv.cc b/storage/innobase/srv/srv0srv.cc index 4460f4bce0a..1d92b3670af 100644 --- a/storage/innobase/srv/srv0srv.cc +++ b/storage/innobase/srv/srv0srv.cc @@ -395,9 +395,6 @@ ib_mutex_t srv_misc_tmpfile_mutex; /** Temporary file for miscellanous diagnostic output */ FILE* srv_misc_tmpfile; -static ulint srv_main_thread_process_no; -static ulint srv_main_thread_id; - /* The following counts are used by the srv_master_callback. */ /** Iterations of the loop bounded by 'srv_active' label. */ @@ -905,12 +902,7 @@ srv_printf_innodb_monitor( n_reserved); } - fprintf(file, - "Process ID=" ULINTPF - ", Main thread ID=" ULINTPF - ", state: %s\n", - srv_main_thread_process_no, - srv_main_thread_id, + fprintf(file, "Process ID=0, Main thread ID=0, state: %s\n", srv_main_thread_op_info); fprintf(file, "Number of rows inserted " ULINTPF |