• Marko Mäkelä's avatar
    MDEV-17831 TRUNCATE TABLE removes ROW_FORMAT=COMPRESSED · 971e1d86
    Marko Mäkelä authored
    If a table had a KEY_BLOCK_SIZE attribute, but no ROW_FORMAT,
    it would be created as ROW_FORMAT=COMPRESSED in InnoDB.
    However, TRUNCATE TABLE would lose the KEY_BLOCK_SIZE attribute
    and create the table with the innodb_default_row_format (DYNAMIC).
    
    This is a regression that was introduced by MDEV-13564.
    
    update_create_info_from_table(): Copy also KEY_BLOCK_SIZE.
    971e1d86
table.cc 254 KB