1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

Coding style fixes

This commit is contained in:
Sergey Vojtovich
2020-04-03 20:53:53 +04:00
parent e4a960780f
commit 4338bb8a75
6 changed files with 28 additions and 22 deletions

View File

@@ -547,7 +547,8 @@ int init_simple_key_cache(SIMPLE_KEY_CACHE_CB *keycache,
((size_t) blocks * keycache->key_cache_block_size) > use_mem && blocks > 8)
blocks--;
keycache->allocated_mem_size= blocks * keycache->key_cache_block_size;
if ((keycache->block_mem=my_large_malloc(&keycache->allocated_mem_size, MYF(0))))
if ((keycache->block_mem= my_large_malloc(&keycache->allocated_mem_size,
MYF(0))))
{
/*
Allocate memory for blocks, hash_links and hash entries;