Commit b15224c7 authored by Marko Mäkelä's avatar Marko Mäkelä

MDEV-16264 fixup: Remove unused declarations

Remove stale references to srv_sys.sys_threads and srv_sys.mutex
that were removed in
commit 5e62b6a5.
parent 1c65ab26
...@@ -657,8 +657,7 @@ void ...@@ -657,8 +657,7 @@ void
srv_export_innodb_status(void); srv_export_innodb_status(void);
/*==========================*/ /*==========================*/
/*******************************************************************//** /*******************************************************************//**
Get current server activity count. We don't hold srv_sys::mutex while Get current server activity count.
reading this value as it is only used in heuristics.
@return activity count. */ @return activity count. */
ulint ulint
srv_get_activity_count(void); srv_get_activity_count(void);
......
...@@ -573,16 +573,6 @@ and/or load it during startup. */ ...@@ -573,16 +573,6 @@ and/or load it during startup. */
char srv_buffer_pool_dump_at_shutdown = TRUE; char srv_buffer_pool_dump_at_shutdown = TRUE;
char srv_buffer_pool_load_at_startup = TRUE; char srv_buffer_pool_load_at_startup = TRUE;
/** Slot index in the srv_sys.sys_threads array for the master thread. */
#define SRV_MASTER_SLOT 0
/** Slot index in the srv_sys.sys_threads array for the purge thread. */
#define SRV_PURGE_SLOT 1
/** Slot index in the srv_sys.sys_threads array from which purge workers start.
*/
#define SRV_WORKER_SLOTS_START 2
#ifdef HAVE_PSI_STAGE_INTERFACE #ifdef HAVE_PSI_STAGE_INTERFACE
/** Performance schema stage event for monitoring ALTER TABLE progress /** Performance schema stage event for monitoring ALTER TABLE progress
everything after flush log_make_checkpoint(). */ everything after flush log_make_checkpoint(). */
...@@ -1568,8 +1558,7 @@ void purge_sys_t::resume() ...@@ -1568,8 +1558,7 @@ void purge_sys_t::resume()
} }
/*******************************************************************//** /*******************************************************************//**
Get current server activity count. We don't hold srv_sys::mutex while Get current server activity count.
reading this value as it is only used in heuristics.
@return activity count. */ @return activity count. */
ulint ulint
srv_get_activity_count(void) srv_get_activity_count(void)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment