diff options
author | ingo@mysql.com <> | 2005-09-14 09:56:49 +0200 |
---|---|---|
committer | ingo@mysql.com <> | 2005-09-14 09:56:49 +0200 |
commit | 73143077623c792497ee16a094d3aa6cc4d7e6e7 (patch) | |
tree | 62a310b25cf6ff423d024f6c9d99a3f8e152eff5 /myisam | |
parent | e31c488d6debd48c1fc2d0718d4a1fbffa78b25f (diff) | |
download | mariadb-git-73143077623c792497ee16a094d3aa6cc4d7e6e7.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.c | 6 |
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) |