diff options
author | Vladislav Vaintroub <wlad@mariadb.com> | 2019-01-24 19:26:34 +0100 |
---|---|---|
committer | Sergey Vojtovich <svoj@mariadb.org> | 2019-01-28 17:49:53 +0400 |
commit | c2318291be7458238729ed80233ea71f1e6a62b8 (patch) | |
tree | 81adfc496da27bfff0d760a07ca7833e2f8e9832 /sql/log.cc | |
parent | 8b4fcc434d5e5afdac3068c9ef041e75f4255e79 (diff) | |
download | mariadb-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.cc | 2 |
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) |