Commit 75c6fce5 authored by Marko Mäkelä's avatar Marko Mäkelä

MDEV-18627: Tighten an assertion added in MDEV-18596

innobase_instant_try(): Assert that the column length of fixed-length
columns is not changing.
parent 2c74799d
...@@ -5578,8 +5578,7 @@ static bool innobase_instant_try( ...@@ -5578,8 +5578,7 @@ static bool innobase_instant_try(
mem_heap_alloc(ctx->heap, len)) mem_heap_alloc(ctx->heap, len))
: NULL, true, (*af)->ptr, len, : NULL, true, (*af)->ptr, len,
dict_table_is_comp(user_table)); dict_table_is_comp(user_table));
ut_ad(new_field->field->pack_length() == len ut_ad(new_field->field->pack_length() == len);
|| !user_table->not_redundant());
} }
} }
......
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