Skip to content

Commit 847e058

Browse files
committed
Flushed WAL log
1 parent ebde316 commit 847e058

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

storage/innobase/buf/buf0lru.cc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1460,6 +1460,7 @@ buf_LRU_get_free_block(
14601460
ib_uint32_t space = bpage->id.space();
14611461
ib_uint32_t offset = bpage->id.page_no();
14621462
ulint fold = bpage->id.fold();
1463+
ulint lsn = bpage->newest_modification;
14631464

14641465
first_free = buf_pool->first_free;
14651466
buf_pool->first_free++;
@@ -1495,6 +1496,8 @@ buf_LRU_get_free_block(
14951496

14961497
buf_pool_mutex_exit(buf_pool);
14971498

1499+
log_write_up_to(lsn, true);
1500+
14981501
if (total_copied) {
14991502
goto loop;
15001503
}

0 commit comments

Comments
 (0)