diff options
author | unknown <ingo@mysql.com> | 2005-09-14 13:18:16 +0200 |
---|---|---|
committer | unknown <ingo@mysql.com> | 2005-09-14 13:18:16 +0200 |
commit | 086165ee4e4a36dd1b21d67c4d70674fadcfa29d (patch) | |
tree | db8c02e8e43fdc08335f800d9e4b724cd39e6b77 /myisam/mi_test2.c | |
parent | 6bade752d140c5e916606810e8f007f60d9a2129 (diff) | |
download | mariadb-git-086165ee4e4a36dd1b21d67c4d70674fadcfa29d.tar.gz |
Bug#12920 - key_read_requests counter appears to re-set
After merge fix.
include/keycache.h:
Bug#12920 - key_read_requests counter appears to re-set
After merge fix.
Status variables moved into KEY_CACHE in 4.1.
Enlarging them there.
include/my_sys.h:
Bug#12920 - key_read_requests counter appears to re-set
After merge fix.
Status variables moved into KEY_CACHE in 4.1.
Removed unused global variables.
myisam/mi_test2.c:
Bug#12920 - key_read_requests counter appears to re-set
After merge fix.
Status variables moved into KEY_CACHE in 4.1.
Changed to print default key cache status.
mysys/mf_keycache.c:
Bug#12920 - key_read_requests counter appears to re-set
After merge fix.
Status variables moved into KEY_CACHE in 4.1.
Changed their debug printout.
sql/mysqld.cc:
Bug#12920 - key_read_requests counter appears to re-set
After merge fix.
Changed to print full value.
sql/sql_show.cc:
Bug#12920 - key_read_requests counter appears to re-set
After merge fix.
Added a branch for long long values.
sql/sql_test.cc:
Bug#12920 - key_read_requests counter appears to re-set
After merge fix.
changed to print full values.
sql/structs.h:
Bug#12920 - key_read_requests counter appears to re-set
After merge fix.
Added a branch for long long keycache values.
Diffstat (limited to 'myisam/mi_test2.c')
-rw-r--r-- | myisam/mi_test2.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/myisam/mi_test2.c b/myisam/mi_test2.c index d43600d9f66..6a6dcb971a2 100644 --- a/myisam/mi_test2.c +++ b/myisam/mi_test2.c @@ -831,7 +831,6 @@ end: puts("Locking used"); if (use_blob) puts("blobs used"); -#if 0 printf("key cache status: \n\ blocks used:%10lu\n\ not flushed:%10lu\n\ @@ -839,9 +838,12 @@ w_requests: %10lu\n\ writes: %10lu\n\ r_requests: %10lu\n\ reads: %10lu\n", - my_blocks_used, my_blocks_changed, - (ulong) my_cache_w_requests, (ulong) my_cache_write, - (ulong) my_cache_r_requests, (ulong) my_cache_read); + dflt_key_cache->blocks_used, + dflt_key_cache->global_blocks_changed, + (ulong) dflt_key_cache->global_cache_w_requests, + (ulong) dflt_key_cache->global_cache_write, + (ulong) dflt_key_cache->global_cache_r_requests, + (ulong) dflt_key_cache->global_cache_read); } end_key_cache(dflt_key_cache,1); if (blob_buffer) |