1
0
mirror of https://github.com/MariaDB/server.git synced 2026-01-06 05:22:24 +03:00

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.
This commit is contained in:
Jimmy Yang
2010-06-03 06:44:48 -07:00
parent d38ef4e6c2
commit c570b479e6

View File

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