MDEV-19176 Reduce the memory usage during recovery

- post-push to fix the compilation issue
parent bba59abb
...@@ -121,7 +121,7 @@ buf_pool_get_n_pages(void) ...@@ -121,7 +121,7 @@ buf_pool_get_n_pages(void)
{ {
buf_pool_t* buf_pool = buf_pool_from_array(i); buf_pool_t* buf_pool = buf_pool_from_array(i);
for (uint j= 0; j < buf_pool->n_chunks; j++) 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; return chunk_size;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment