diff --git a/storage/innobase/handler/handler0alter.cc b/storage/innobase/handler/handler0alter.cc index 3606088d037..c4bb4936e3a 100644 --- a/storage/innobase/handler/handler0alter.cc +++ b/storage/innobase/handler/handler0alter.cc @@ -5578,8 +5578,7 @@ static bool innobase_instant_try( mem_heap_alloc(ctx->heap, len)) : NULL, true, (*af)->ptr, len, dict_table_is_comp(user_table)); - ut_ad(new_field->field->pack_length() == len - || !user_table->not_redundant()); + ut_ad(new_field->field->pack_length() == len); } }