mariadb/storage/innobase/dict
Marko Mäkelä c026e2c006 MDEV-15507 Assertion failed in dict_check_sys_tables on upgrade from 5.5
The InnoDB system table column SYS_TABLES.MIX_LEN was repurposed
in InnoDB Plugin for MySQL 5.1, in
commit 91111174ee (MySQL 5.1.46).
Until MySQL 5.6, it only contained a flag DICT_TF2_TEMPORARY.

MySQL 5.6 introduced a number of flags that were transient
in nature. One of these was introduced in 5.6.5, originally
called DICT_TF2_USE_TABLESPACE and later renamed to
DICT_TF2_USE_FILE_PER_TABLE. MySQL 5.7.6 introduced logic
that insists that the flag be set for any table that does not
reside in a shared tablespace, breaking upgrade from MySQL 5.5.

MariaDB does not support shared tablespaces other than the
InnoDB system tablespace. Also, some dependencies on
SYS_TABLES.MIX_LEN were removed in an earlier fix:
MDEV-13084 MariaDB 10.2 crashes on corrupted SYS_TABLES.MIX_LEN field
(commit e813fe8622).

dict_check_sys_tables(): Remove a bogus debug assertion, and add a
comment that explains how DICT_TF2_USE_FILE_PER_TABLE is used.

dict_table_is_file_per_table(): Remove a bogus debug assertion.
2018-04-26 09:25:46 +03:00
..
dict0boot.cc Remove dict_disable_redo_if_temporary() 2017-10-03 11:37:38 +03:00
dict0crea.cc MDEV-14904 Backport innodb_default_row_format 2018-03-07 17:49:42 +02:00
dict0defrag_bg.cc MDEV-15063: InnoDB assertion failure !is_owned() at dict0defrag_bg.cc:327 2018-01-25 11:28:38 +02:00
dict0dict.cc MDEV-15553 Assertion failed in dict_table_get_col_name 2018-04-05 15:01:17 +03:00
dict0load.cc MDEV-15507 Assertion failed in dict_check_sys_tables on upgrade from 5.5 2018-04-26 09:25:46 +03:00
dict0mem.cc Merge branch 'github/10.1' into 10.2 2018-02-06 14:50:50 +01:00
dict0stats.cc MDEV-14941 Timeouts on persistent statistics tables caused by MDEV-14511 2018-01-22 08:58:47 +02:00
dict0stats_bg.cc MDEV-14941 Timeouts on persistent statistics tables caused by MDEV-14511 2018-01-22 08:58:47 +02:00