summaryrefslogtreecommitdiff
path: root/myisam
diff options
context:
space:
mode:
authorunknown <ingo@mysql.com>2005-09-14 09:56:49 +0200
committerunknown <ingo@mysql.com>2005-09-14 09:56:49 +0200
commit07b61cbb251d7b233abc47b4dd235930fbe4af63 (patch)
tree62a310b25cf6ff423d024f6c9d99a3f8e152eff5 /myisam
parent3884629d888c48ec113de6463db569c9edc907d6 (diff)
downloadmariadb-git-07b61cbb251d7b233abc47b4dd235930fbe4af63.tar.gz
Bug#12920 - key_read_requests counter appears to re-set
Enlarged the counter variables to ulonglong.
Diffstat (limited to 'myisam')
-rw-r--r--myisam/mi_test2.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/myisam/mi_test2.c b/myisam/mi_test2.c
index 11253f1fdee..89fc967ecf5 100644
--- a/myisam/mi_test2.c
+++ b/myisam/mi_test2.c
@@ -812,12 +812,14 @@ end:
puts("blobs used");
printf("key cache status: \n\
blocks used:%10lu\n\
+not flushed:%10lu\n\
w_requests: %10lu\n\
writes: %10lu\n\
r_requests: %10lu\n\
reads: %10lu\n",
- _my_blocks_used,_my_cache_w_requests, _my_cache_write,
- _my_cache_r_requests,_my_cache_read);
+ _my_blocks_used, _my_blocks_changed,
+ (ulong) _my_cache_w_requests, (ulong) _my_cache_write,
+ (ulong) _my_cache_r_requests, (ulong) _my_cache_read);
}
end_key_cache();
if (blob_buffer)