Commit 72afe4d7 authored by Marko Mäkelä's avatar Marko Mäkelä

innobase_rename_column_try(): Skip dropped columns

parent 4d683b90
...@@ -8121,8 +8121,10 @@ innobase_rename_column_try( ...@@ -8121,8 +8121,10 @@ innobase_rename_column_try(
index = dict_table_get_next_index(index)) { index = dict_table_get_next_index(index)) {
for (ulint i = 0; i < dict_index_get_n_fields(index); i++) { for (ulint i = 0; i < dict_index_get_n_fields(index); i++) {
if (strcmp(dict_index_get_nth_field(index, i)->name, const dict_field_t& f = index->fields[i];
from)) { DBUG_ASSERT(!f.name == f.col->is_dropped());
if (!f.name || strcmp(f.name, from)) {
continue; continue;
} }
......
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