Commit aa3d28ac authored by Marko Mäkelä's avatar Marko Mäkelä

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.
parent 89f487f2
...@@ -4285,7 +4285,7 @@ innobase_add_instant_try( ...@@ -4285,7 +4285,7 @@ innobase_add_instant_try(
break; break;
case MYSQL_TYPE_STRING: case MYSQL_TYPE_STRING:
if (col->mbminlen != col->mbmaxlen if (col->mbminlen != col->mbmaxlen
|| !dict_table_is_comp(user_table)) { && dict_table_is_comp(user_table)) {
goto variable_length; goto variable_length;
} }
/* fall through */ /* fall through */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment