> - Please replace the commented out ut_ad() in buf_LRU_free_one_page with
> assert that LRU list mutex is held. The current code also introduces an unused
> variable buf_pool in debug builds.
It's actually not unused in debug, there's a ut_ad() in the else block that uses it.
> - Please replace the commented out ut_ad() in buf_LRU_ free_one_ page with
> assert that LRU list mutex is held. The current code also introduces an unused
> variable buf_pool in debug builds.
It's actually not unused in debug, there's a ut_ad() in the else block that uses it.
(and will be used by asserting LRU mutex is held)