diff options
author | Sergei Golubchik <sergii@pisem.net> | 2010-10-29 23:18:02 +0200 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2010-10-29 23:18:02 +0200 |
commit | 310584a849ea5912c23f3260ce0f2eff3128c566 (patch) | |
tree | 87a901f3ee2215cfd43a7f3dbce7f46017b43219 /mysys | |
parent | 716f7843757f96649cca1f5dc3df5d9659b17da9 (diff) | |
parent | c6b19ea001965b350df1248c33f709127d2c7e47 (diff) | |
download | mariadb-git-310584a849ea5912c23f3260ce0f2eff3128c566.tar.gz |
merge w/ 5.1
Diffstat (limited to 'mysys')
-rw-r--r-- | mysys/mf_keycache.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mysys/mf_keycache.c b/mysys/mf_keycache.c index 9c96d387aa0..00e5f0874a2 100644 --- a/mysys/mf_keycache.c +++ b/mysys/mf_keycache.c @@ -4906,6 +4906,7 @@ void get_simple_key_cache_statistics(SIMPLE_KEY_CACHE_CB *keycache, keycache_stats->blocks_used= keycache->blocks_used; keycache_stats->blocks_unused= keycache->blocks_unused; keycache_stats->blocks_changed= keycache->global_blocks_changed; + keycache_stats->blocks_warm= keycache->warm_blocks; keycache_stats->read_requests= keycache->global_cache_r_requests; keycache_stats->reads= keycache->global_cache_read; keycache_stats->write_requests= keycache->global_cache_w_requests; @@ -5797,6 +5798,7 @@ get_partitioned_key_cache_statistics(PARTITIONED_KEY_CACHE_CB *keycache, keycache_stats->blocks_used+= partition->blocks_used; keycache_stats->blocks_unused+= partition->blocks_unused; keycache_stats->blocks_changed+= partition->global_blocks_changed; + keycache_stats->blocks_warm+= partition->warm_blocks; keycache_stats->read_requests+= partition->global_cache_r_requests; keycache_stats->reads+= partition->global_cache_read; keycache_stats->write_requests+= partition->global_cache_w_requests; |