diff options
author | unknown <bell@sanja.is.com.ua> | 2002-11-17 20:44:16 +0200 |
---|---|---|
committer | unknown <bell@sanja.is.com.ua> | 2002-11-17 20:44:16 +0200 |
commit | 971db765336a86a314726ea2dbe2cb4acac80e79 (patch) | |
tree | 49e67015efa506f13655b865cf83a47ef59b26af /sql/sql_cache.cc | |
parent | 4589844513f1663d49f32ed6cdf1e14003f940bc (diff) | |
parent | b463146ac6bf0a828bceacfb02242069f1930abb (diff) | |
download | mariadb-git-971db765336a86a314726ea2dbe2cb4acac80e79.tar.gz |
Merge abelkin@work.mysql.com:/home/bk/mysql-4.0
into sanja.is.com.ua:/home/bell/mysql/mysql-4.0
Diffstat (limited to 'sql/sql_cache.cc')
-rw-r--r-- | sql/sql_cache.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/sql_cache.cc b/sql/sql_cache.cc index db601cd8a00..64c62345182 100644 --- a/sql/sql_cache.cc +++ b/sql/sql_cache.cc @@ -708,7 +708,7 @@ Query_cache::Query_cache(ulong query_cache_limit_arg, :query_cache_size(0), query_cache_limit(query_cache_limit_arg), queries_in_cache(0), hits(0), inserts(0), refused(0), - total_blocks(0), + total_blocks(0), lowmem_prunes(0), min_allocation_unit(ALIGN_SIZE(min_allocation_unit_arg)), min_result_data_size(ALIGN_SIZE(min_result_data_size_arg)), def_query_hash_size(ALIGN_SIZE(def_query_hash_size_arg)), @@ -1512,6 +1512,7 @@ my_bool Query_cache::free_old_query() if (query_block != 0) { free_query(query_block); + lowmem_prunes++; DBUG_RETURN(0); } } |