summaryrefslogtreecommitdiff
path: root/sql/sql_test.cc
diff options
context:
space:
mode:
authoringo@mysql.com <>2004-05-03 15:55:21 +0200
committeringo@mysql.com <>2004-05-03 15:55:21 +0200
commit5a78b4c746555d4c1891ce82d4c0b2d23125caff (patch)
treef82a460f807cff5eea040e4950e8f7b334c28f33 /sql/sql_test.cc
parentb89e5bbc9528d2acd77e5dcfd22a373ab5a1e0c8 (diff)
downloadmariadb-git-5a78b4c746555d4c1891ce82d4c0b2d23125caff.tar.gz
WL#1700 - Properly count key_blocks_used and key_blocks_current.
Introduced a new free blocks list. Free blocks are now re-used before new blocks are allocated from the pool. There is a new status variable which can be queried by "show status like key_blocks_unused".
Diffstat (limited to 'sql/sql_test.cc')
-rw-r--r--sql/sql_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_test.cc b/sql/sql_test.cc
index cc3d30e5983..d992c93f8fc 100644
--- a/sql/sql_test.cc
+++ b/sql/sql_test.cc
@@ -329,7 +329,7 @@ reads: %10lu\n\n",
name,
(ulong) key_cache->param_buff_size, key_cache->param_block_size,
key_cache->param_division_limit, key_cache->param_age_threshold,
- key_cache->global_blocks_used,key_cache->global_blocks_changed,
+ key_cache->blocks_used,key_cache->global_blocks_changed,
key_cache->global_cache_w_requests,key_cache->global_cache_write,
key_cache->global_cache_r_requests,key_cache->global_cache_read);
}