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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user