mirror of
https://github.com/MariaDB/server.git
synced 2025-02-02 20:11:42 +01:00
Fixed compiler warning
This commit is contained in:
commit
d2b64eeba0
1 changed files with 2 additions and 1 deletions
|
@ -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)) +
|
||||
|
|
Loading…
Add table
Reference in a new issue