summaryrefslogtreecommitdiff
path: root/storage/innobase/buf/buf0buf.cc
diff options
context:
space:
mode:
Diffstat (limited to 'storage/innobase/buf/buf0buf.cc')
-rw-r--r--storage/innobase/buf/buf0buf.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/storage/innobase/buf/buf0buf.cc b/storage/innobase/buf/buf0buf.cc
index 93178bada97..ace267db9af 100644
--- a/storage/innobase/buf/buf0buf.cc
+++ b/storage/innobase/buf/buf0buf.cc
@@ -2971,7 +2971,8 @@ re_evict:
buf_flush_lists(ULINT_UNDEFINED, LSN_MAX);
buf_flush_wait_batch_end_acquiring_mutex(false);
- if (!fix_block->page.oldest_modification()) {
+ if (fix_block->page.buf_fix_count() == 1
+ && !fix_block->page.oldest_modification()) {
goto re_evict;
}