summaryrefslogtreecommitdiff
path: root/mysys/lf_alloc-pin.c
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2021-01-07 19:37:47 +0100
committerSergei Golubchik <serg@mariadb.org>2021-01-11 21:54:47 +0100
commit63f91927870b41b8965e2a2a868abcc2b3672f68 (patch)
treec1f7e0f76168834f2aa0ee461a9ce1e07bed0408 /mysys/lf_alloc-pin.c
parent4c448836d489bd5a25c7509e8a69309c3b0a8e72 (diff)
downloadmariadb-git-63f91927870b41b8965e2a2a868abcc2b3672f68.tar.gz
MDEV-17251 SHOW STATUS unnecessary calls calc_sum_of_all_status
1. only call calc_sum_of_all_status() if a global SHOW_xxx_STATUS variable is to be returned 2. only lock LOCK_status when copying global_status_var, but not when iterating all threads
Diffstat (limited to 'mysys/lf_alloc-pin.c')
0 files changed, 0 insertions, 0 deletions