Merge 10.6 into 10.8

This commit is contained in:
Marko Mäkelä 2023-03-20 10:33:04 +02:00
commit e4b83f0feb

View file

@ -2326,7 +2326,6 @@ static void buf_flush_page_cleaner()
break;
const ulint dirty_blocks= UT_LIST_GET_LEN(buf_pool.flush_list);
ut_ad(dirty_blocks);
/* We perform dirty reads of the LRU+free list lengths here.
Division by zero is not possible, because buf_pool.flush_list is
guaranteed to be nonempty, and it is a subset of buf_pool.LRU. */