• Marko Mäkelä's avatar
    MDEV-11694 InnoDB tries to create unused table SYS_ZIP_DICT · 80d5d145
    Marko Mäkelä authored
    MariaDB Server 10.0.28 and 10.1.19 merged code from Percona XtraDB
    that introduced support for compressed columns. Much but not all
    of this code was disabled by placing #ifdef HAVE_PERCONA_COMPRESSED_COLUMNS
    around it.
    
    Among the unused but not disabled code is code to access
    some new system tables related to compressed columns.
    
    The creation of these system tables SYS_ZIP_DICT and SYS_ZIP_DICT_COLS
    would cause a crash in --innodb-read-only mode when upgrading
    from an earlier version to 10.0.28 or 10.1.19.
    
    Let us remove all the dead code related to compressed columns.
    Users who already upgraded to 10.0.28 and 10.1.19 will have the two
    above mentioned empty tables in their InnoDB system tablespace.
    Subsequent versions of MariaDB Server will completely ignore those tables.
    80d5d145
dict0load.h 17.1 KB