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

innobase_instant_try(): Assert that the column length of fixed-length
columns is not changing.
This commit is contained in:
Marko Mäkelä 2019-02-18 18:49:34 +02:00
parent 2c74799d64
commit 75c6fce5a3

View File

@ -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);
}
}