Skip to content

Commit

Permalink
MDEV-16264 fixup: Remove unused variables
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-m committed Nov 14, 2022
1 parent e0e096f commit ee7fba1
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions storage/innobase/srv/srv0srv.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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. */
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit ee7fba1

Please sign in to comment.