summaryrefslogtreecommitdiff
path: root/sql/log.cc
diff options
context:
space:
mode:
authorVladislav Vaintroub <wlad@mariadb.com>2019-01-24 19:26:34 +0100
committerSergey Vojtovich <svoj@mariadb.org>2019-01-28 17:49:53 +0400
commitc2318291be7458238729ed80233ea71f1e6a62b8 (patch)
tree81adfc496da27bfff0d760a07ca7833e2f8e9832 /sql/log.cc
parent8b4fcc434d5e5afdac3068c9ef041e75f4255e79 (diff)
downloadmariadb-git-c2318291be7458238729ed80233ea71f1e6a62b8.tar.gz
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.
Diffstat (limited to 'sql/log.cc')
-rw-r--r--sql/log.cc2
1 files changed, 1 insertions, 1 deletions
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)