• Marko Mäkelä's avatar
    MDEV-23399 fixup: Remove double-free of a buffer page · 6dc037a9
    Marko Mäkelä authored
    In commit 7cffb5f6 we changed the
    interface of buf_page_create() so that the free_block is allocated
    by the caller. Both calls to buf_LRU_block_free_non_file_page()
    should have been removed.
    
    This caused an assertion failure 'block->page.state() == BUF_BLOCK_MEMORY'
    in buf_LRU_block_free_non_file_page().
    
    The bug only affected ROW_FORMAT=COMPRESSED pages.
    6dc037a9
buf0buf.cc 139 KB