summaryrefslogtreecommitdiff
path: root/sql/sql_statistics.cc
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2018-12-13 21:25:12 +0200
committerMarko Mäkelä <marko.makela@mariadb.com>2018-12-13 21:25:12 +0200
commite3dda3d95ee4c09c2ed45ce886ecd25d1fc1ae92 (patch)
tree1c309791302a4c69526248a28a4b2e637f96f27d /sql/sql_statistics.cc
parent1a780eefc9ff8050b44bca07c981bd6a42bdbaf6 (diff)
downloadmariadb-git-e3dda3d95ee4c09c2ed45ce886ecd25d1fc1ae92.tar.gz
MDEV-17989 InnoDB: Failing assertion: dict_tf2_is_valid(flags, flags2)
With innodb_default_row_format=redundant, InnoDB would crash when using table options that are incompatible with ROW_FORMAT=REDUNDANT. create_table_info_t::m_default_row_format: Cache the value of innodb_default_row_format. create_table_info_t::check_table_options(): Validate ROW_TYPE_DEFAULT with m_default_row_format. create_table_info_t::innobase_table_flags(): Use the cached m_default_row_format. create_table_info_t: Never read m_form->s->row_type. Use m_create_info->row_type instead. dict_tf_set(): Never set invalid flags for ROW_FORMAT=REDUNDANT. ha_innobase::truncate(): Set info.row_type based on the ROW_FORMAT of the current table.
Diffstat (limited to 'sql/sql_statistics.cc')
0 files changed, 0 insertions, 0 deletions