MDEV-19176 Reduce the memory usage during recovery

- post-push to fix the compilation issue
This commit is contained in:
Thirunarayanan Balathandayuthapani 2019-12-23 15:56:57 +05:30
parent bba59abb03
commit 90ba87cb9e

View file

@ -121,7 +121,7 @@ buf_pool_get_n_pages(void)
{
buf_pool_t* buf_pool = buf_pool_from_array(i);
for (uint j= 0; j < buf_pool->n_chunks; j++)
chunk_size+= buf_pool->chunks[j]->size;
chunk_size+= buf_pool->chunks[j].size;
}
return chunk_size;
}