From c2318291be7458238729ed80233ea71f1e6a62b8 Mon Sep 17 00:00:00 2001 From: Vladislav Vaintroub Date: Thu, 24 Jan 2019 19:26:34 +0100 Subject: MDEV-15135 - Make LOCK_show_status rwlock, to enable parallelism of fill_status. Also, remove LOCK_status around calc_sum_of_all_status() Also, rename LOCK_show_status into LOCK_all_status_vars. This reflects the variable the lock protects. --- sql/log.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sql/log.cc') diff --git a/sql/log.cc b/sql/log.cc index 3857bb55340..a4a2b4b1e37 100644 --- a/sql/log.cc +++ b/sql/log.cc @@ -10486,7 +10486,7 @@ set_binlog_snapshot_file(const char *src) Copy out current values of status variables, for SHOW STATUS or information_schema.global_status. - This is called only under LOCK_show_status, so we can fill in a static array. + This is called only under LOCK_all_status_vars, so we can fill in a static array. */ void TC_LOG_BINLOG::set_status_variables(THD *thd) -- cgit v1.2.1