Skip to content
Permalink
Browse files
MDEV-16264 fixup: Remove unused declarations
Remove stale references to srv_sys.sys_threads and srv_sys.mutex
that were removed in
commit 5e62b6a.
  • Loading branch information
dr-m committed Oct 1, 2020
1 parent 1c65ab2 commit b15224c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 14 deletions.
@@ -657,8 +657,7 @@ void
srv_export_innodb_status(void);
/*==========================*/
/*******************************************************************//**
Get current server activity count. We don't hold srv_sys::mutex while
reading this value as it is only used in heuristics.
Get current server activity count.
@return activity count. */
ulint
srv_get_activity_count(void);
@@ -573,16 +573,6 @@ and/or load it during startup. */
char srv_buffer_pool_dump_at_shutdown = 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
/** Performance schema stage event for monitoring ALTER TABLE progress
everything after flush log_make_checkpoint(). */
@@ -1568,8 +1558,7 @@ void purge_sys_t::resume()
}

/*******************************************************************//**
Get current server activity count. We don't hold srv_sys::mutex while
reading this value as it is only used in heuristics.
Get current server activity count.
@return activity count. */
ulint
srv_get_activity_count(void)

0 comments on commit b15224c

Please sign in to comment.