Commit 2096dbf6 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 656d3e91
...@@ -7420,8 +7420,7 @@ innobase_get_mysql_key_number_for_index( ...@@ -7420,8 +7420,7 @@ innobase_get_mysql_key_number_for_index(
/* If index does not belong to the table of share structure. Search /* If index does not belong to the table of share structure. Search
index->table instead */ index->table instead */
if (index->table != ib_table if (index->table != ib_table) {
&& strcmp(index->table->name, share->table_name)) {
i = 0; i = 0;
ind = dict_table_get_first_index(index->table); 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