• Marko Mäkelä's avatar
    MDEV-20370 Crash after OPTIMIZE TABLE on TEMPORARY TABLE · ab0034a7
    Marko Mäkelä authored
    Temporary tables are typically short-lived, and temporary tables
    are assumed to be accessed only by the thread that is handling
    the owning connection. Hence, they must not be subject to
    defragmenting.
    
    ha_innobase::optimize(): Do not add temporary tables to
    the defragment_table() queue.
    ab0034a7
innodb_defrag_concurrent.test 4.03 KB