diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2023-03-20 10:32:35 +0200 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2023-03-20 10:32:35 +0200 |
commit | 32a53a66df0369a446db1e41f5123afe62e793fb (patch) | |
tree | 64b53660eb5cd5f8c92e7e5bb78444aeca39941c | |
parent | e8e0559ed213db0fffcfd9e2108eedaeb451f7f4 (diff) | |
download | mariadb-git-32a53a66df0369a446db1e41f5123afe62e793fb.tar.gz |
MDEV-26827 fixup: Remove a bogus assertion
We can have dirty_blocks=0 when buf_flush_page_cleaner() is being woken up
to write out or evict pages from the buf_pool.LRU list.
-rw-r--r-- | storage/innobase/buf/buf0flu.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/storage/innobase/buf/buf0flu.cc b/storage/innobase/buf/buf0flu.cc index 326636e0c4d..484f6a3abb7 100644 --- a/storage/innobase/buf/buf0flu.cc +++ b/storage/innobase/buf/buf0flu.cc @@ -2324,7 +2324,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. */ |