summaryrefslogtreecommitdiff
path: root/sql/mysqld.cc
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 /sql/mysqld.cc
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 'sql/mysqld.cc')
-rw-r--r--sql/mysqld.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/sql/mysqld.cc b/sql/mysqld.cc
index 17157d0ebe2..18f07798e84 100644
--- a/sql/mysqld.cc
+++ b/sql/mysqld.cc
@@ -4532,10 +4532,10 @@ struct show_var_st status_vars[]= {
{"Handler_update", (char*) &ha_update_count, SHOW_LONG},
{"Handler_write", (char*) &ha_write_count, SHOW_LONG},
{"Key_blocks_used", (char*) &_my_blocks_used, SHOW_LONG_CONST},
- {"Key_read_requests", (char*) &_my_cache_r_requests, SHOW_LONG},
- {"Key_reads", (char*) &_my_cache_read, SHOW_LONG},
- {"Key_write_requests", (char*) &_my_cache_w_requests, SHOW_LONG},
- {"Key_writes", (char*) &_my_cache_write, SHOW_LONG},
+ {"Key_read_requests", (char*) &_my_cache_r_requests, SHOW_LONGLONG},
+ {"Key_reads", (char*) &_my_cache_read, SHOW_LONGLONG},
+ {"Key_write_requests", (char*) &_my_cache_w_requests, SHOW_LONGLONG},
+ {"Key_writes", (char*) &_my_cache_write, SHOW_LONGLONG},
{"Max_used_connections", (char*) &max_used_connections, SHOW_LONG},
{"Not_flushed_delayed_rows", (char*) &delayed_rows_in_use, SHOW_LONG_CONST},
{"Not_flushed_key_blocks", (char*) &_my_blocks_changed, SHOW_LONG_CONST},