• Marko Mäkelä's avatar
    MDEV-24659 Assertion !fsp_is_system_temporary(bpage->id().space()) failed in... · 84b8f529
    Marko Mäkelä authored
    MDEV-24659 Assertion !fsp_is_system_temporary(bpage->id().space()) failed in buf_flush_relocate_on_flush_list()
    
    When commit 5eb53955 (MDEV-12227)
    removed the pages of temporary tables from the buf_pool.flush_list,
    an adjustment to the buffer pool resizing was forgotten.
    
    buf_pool_t::realloc(): Do not invoke buf_flush_relocate_on_flush_list()
    for pages that belong to the temporary tablespace. Also, deduplicate
    some code at the end.
    
    buf_page_t::set_corrupt_id(): Tolerate oldest_modification()==1
    (the dummy value) for temporary tablespace pages. The revised
    buf_pool_t::realloc() may invoke this on dirty temporary tablespace pages.
    84b8f529
buf0buf.h 77.3 KB