diff options
author | Thirunarayanan Balathandayuthapani <thiru@mariadb.com> | 2019-12-23 15:56:57 +0530 |
---|---|---|
committer | Thirunarayanan Balathandayuthapani <thiru@mariadb.com> | 2019-12-23 15:56:57 +0530 |
commit | 90ba87cb9e3307fff4785cadf2d058e1ce4288a4 (patch) | |
tree | a9f389a62ee1b852c3e57ee7e44b67c73dff2ed0 /storage | |
parent | bba59abb039fee1a3ee72a25643ebb7a0b64f3c5 (diff) | |
download | mariadb-git-90ba87cb9e3307fff4785cadf2d058e1ce4288a4.tar.gz |
MDEV-19176 Reduce the memory usage during recovery
- post-push to fix the compilation issue
Diffstat (limited to 'storage')
-rw-r--r-- | storage/innobase/include/buf0buf.ic | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/innobase/include/buf0buf.ic b/storage/innobase/include/buf0buf.ic index b3fe52a0412..e1c8986c2ed 100644 --- a/storage/innobase/include/buf0buf.ic +++ b/storage/innobase/include/buf0buf.ic @@ -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; } |