summaryrefslogtreecommitdiff
path: root/storage/innobase/buf/buf0rea.cc
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2020-01-29 12:42:45 +0200
committerMarko Mäkelä <marko.makela@mariadb.com>2020-01-29 12:42:45 +0200
commitdd874e659b4991793aa0147c8411c1d67522276f (patch)
tree398c731e6e083f0c99117be555d496561770c2b0 /storage/innobase/buf/buf0rea.cc
parent036dc4f446309f2bc31244170e19d32ebce1bf9e (diff)
downloadmariadb-git-bb-10.5-MDEV-21351.tar.gz
Cleanup: More logical names and member functionsbb-10.5-MDEV-21351
recv_sys_t::free_corrupted_page(): Renamed from recv_recover_corrupt_page(). recv_sys_t::is_memory_exhausted(): Renamed from recv_sys_heap_check(). recv_sys_t::max_blocks(): Accessor for max_log_blocks. recv_sys_t::blocks: Buffer pool blocks reserved for redo log records. For the debug functions related to recv_sys_t::alloc(), use the logical name free(). Rename some variables 'store_to_hash' to 'store', because recv_sys.pages is not a hash table.
Diffstat (limited to 'storage/innobase/buf/buf0rea.cc')
-rw-r--r--storage/innobase/buf/buf0rea.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/innobase/buf/buf0rea.cc b/storage/innobase/buf/buf0rea.cc
index 2700aae9e4b..e8190595ec0 100644
--- a/storage/innobase/buf/buf0rea.cc
+++ b/storage/innobase/buf/buf0rea.cc
@@ -766,7 +766,7 @@ buf_read_recv_pages(
ulint count = 0;
buf_pool = buf_pool_get(cur_page_id);
- while (buf_pool->n_pend_reads >= recv_sys.max_log_blocks / 2) {
+ while (buf_pool->n_pend_reads >= recv_sys.max_blocks() / 2) {
os_thread_sleep(10000);