Commit 5f336d99 authored by Jimmy Yang's avatar Jimmy Yang

Remove the unneccesary innobase_strcasecmp() in

innobase_get_mysql_key_number_for_index() created as a bug fix for
#53592 since dict_table_t could already unique identify
the table.
parent c440ee86
...@@ -7610,8 +7610,7 @@ innobase_get_mysql_key_number_for_index( ...@@ -7610,8 +7610,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) {
&& innobase_strcasecmp(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