mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 12:02:42 +01:00
MDEV-21088: Follow-up fix for ROW_FORMAT=REDUNDANT
For ROW_FORMAT=REDUNDANT, we must reserve fixed-length dummy values for the CHAR columns in the metadata record. This is because in MariaDB Server 10.4, btr_cur_instant_init_low() will rely on dict_index_t::trx_id_offset being accurate for the metadata record.
This commit is contained in:
parent
89f487f2e2
commit
aa3d28ac34
1 changed files with 1 additions and 1 deletions
|
@ -4285,7 +4285,7 @@ innobase_add_instant_try(
|
|||
break;
|
||||
case MYSQL_TYPE_STRING:
|
||||
if (col->mbminlen != col->mbmaxlen
|
||||
|| !dict_table_is_comp(user_table)) {
|
||||
&& dict_table_is_comp(user_table)) {
|
||||
goto variable_length;
|
||||
}
|
||||
/* fall through */
|
||||
|
|
Loading…
Reference in a new issue