Commit c570b479 authored by Jimmy Yang's avatar Jimmy Yang

Remove unncessary name comapre in innobase_get_mysql_key_number_for_index()

introduced in bug fix #53592, since dict_table_t can sufficiently unique
identify the the table.
parent d38ef4e6
......@@ -7420,8 +7420,7 @@ innobase_get_mysql_key_number_for_index(
/* If index does not belong to the table of share structure. Search
index->table instead */
if (index->table != ib_table
&& strcmp(index->table->name, share->table_name)) {
if (index->table != ib_table) {
i = 0;
ind = dict_table_get_first_index(index->table);
......
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