summaryrefslogtreecommitdiff
path: root/sql/sql_cache.cc
diff options
context:
space:
mode:
authorMikael Ronstrom <mikael@mysql.com>2008-10-17 12:08:35 +0200
committerMikael Ronstrom <mikael@mysql.com>2008-10-17 12:08:35 +0200
commite88091f81d7a0989c07cbd583e38ef21ebcd0bed (patch)
treedbbd93b3afcb4ee98a13013865d7140ea3dacb80 /sql/sql_cache.cc
parentff51b7d80ac1185acb466497570444fdee7b3e53 (diff)
downloadmariadb-git-e88091f81d7a0989c07cbd583e38ef21ebcd0bed.tar.gz
Fixed compiler warning
Diffstat (limited to 'sql/sql_cache.cc')
-rw-r--r--sql/sql_cache.cc3
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)) +