• Marko Mäkelä's avatar
    Bug#16067973 DROP TABLE SLOW WHEN IT DECOMPRESS COMPRESSED-ONLY PAGES · f130ccc1
    Marko Mäkelä authored
    buf_page_get_gen(): Do not attempt to decompress a compressed-only
    page when mode == BUF_PEEK_IF_IN_POOL. This mode is only being used by
    btr_search_drop_page_hash_when_freed(). There cannot be any adaptive
    hash index pointing to a page that does not exist in uncompressed
    format in the buffer pool.
    
    innodb_buffer_pool_evict_update(): New function for debug builds, to handle
    SET GLOBAL innodb_buffer_pool_evicted='uncompressed'
    by evicting all uncompressed page frames of compressed tablespaces
    from the buffer pool.
    
    rb#1873 approved by Jimmy Yang
    f130ccc1
ha_innodb.cc 333 KB