• Marko Mäkelä's avatar
    MDEV-14086 Setting innodb_buffer_pool_load_now or innodb_buffer_load_abort... · dfd010ef
    Marko Mäkelä authored
    MDEV-14086 Setting innodb_buffer_pool_load_now or innodb_buffer_load_abort will crash if innodb_read_only
    
    When MySQL 5.6.10 introduced innodb_read_only mode, it skipped the
    creation of the InnoDB buffer pool dump/restore subsystem in that mode.
    Attempts to set the variable innodb_buf_pool_dump_now would have
    no effect in innodb_read_only mode, but the corresponding condition
    was forgotten in from the other two update functions.
    
    MySQL 5.7.20 would fix the innodb_buffer_pool_load_now,
    but not innodb_buffer_pool_load_abort. Let us fix both in MariaDB.
    dfd010ef
ha_innodb.cc 570 KB