Merge 10.8 into 10.9

This commit is contained in:
Marko Mäkelä 2023-03-20 10:37:05 +02:00
commit eec1d6ce3d

View file

@ -2432,7 +2432,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. */