• Jan Lindström's avatar
    MDEV-8588: Assertion failure in file ha_innodb.cc line 21140 if at least... · 7e916bb8
    Jan Lindström authored
       MDEV-8588: Assertion failure in file ha_innodb.cc line 21140 if at least one encrypted table exists and encryption service is not available
    
        Analysis: Problem was that in fil_read_first_page we do find that
        table has encryption information and that encryption service
        or used key_id is not available. But, then we just printed
        fatal error message that causes above assertion.
    
        Fix: When we open single table tablespace if it has encryption
        information (crypt_data) store this crypt data to the table
        structure. When we open a table and we find out that tablespace
        is not available, check has table a encryption information
        and from there is encryption service or used key_id is not available.
        If it is, add additional warning for SQL-layer.
    7e916bb8
page0cur.ic 9.29 KB