diff options
author | Mikael Ronstrom <mikael@mysql.com> | 2008-10-17 12:08:35 +0200 |
---|---|---|
committer | Mikael Ronstrom <mikael@mysql.com> | 2008-10-17 12:08:35 +0200 |
commit | 800a4f4113f25e115271d837d922a64ef00b9349 (patch) | |
tree | dbbd93b3afcb4ee98a13013865d7140ea3dacb80 /sql/sql_cache.cc | |
parent | f1e0cffb1d20aba04da2b68bcdf6e0bedc7d6c93 (diff) | |
download | mariadb-git-800a4f4113f25e115271d837d922a64ef00b9349.tar.gz |
Fixed compiler warning
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 364c8a57c8d..ec65ba66fa5 100644 --- a/sql/sql_cache.cc +++ b/sql/sql_cache.cc @@ -887,11 +887,12 @@ Query_cache::Query_cache(ulong query_cache_limit_arg, query_cache_limit(query_cache_limit_arg), queries_in_cache(0), hits(0), inserts(0), refused(0), total_blocks(0), lowmem_prunes(0), + m_query_cache_is_disabled(FALSE), 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)), def_table_hash_size(ALIGN_SIZE(def_table_hash_size_arg)), - initialized(0),m_query_cache_is_disabled(FALSE) + initialized(0) { ulong min_needed= (ALIGN_SIZE(sizeof(Query_cache_block)) + ALIGN_SIZE(sizeof(Query_cache_block_table)) + |