summaryrefslogtreecommitdiff
path: root/innobase/include/dict0dict.ic
diff options
context:
space:
mode:
Diffstat (limited to 'innobase/include/dict0dict.ic')
-rw-r--r--innobase/include/dict0dict.ic4
1 files changed, 0 insertions, 4 deletions
diff --git a/innobase/include/dict0dict.ic b/innobase/include/dict0dict.ic
index 549a5763b44..9089ebe8edd 100644
--- a/innobase/include/dict0dict.ic
+++ b/innobase/include/dict0dict.ic
@@ -651,8 +651,6 @@ dict_table_get_index(
char* name) /* in: index name */
{
dict_index_t* index = NULL;
-
- mutex_enter(&(dict_sys->mutex));
index = dict_table_get_first_index(table);
@@ -665,8 +663,6 @@ dict_table_get_index(
index = dict_table_get_next_index(index);
}
- mutex_exit(&(dict_sys->mutex));
-
return(index);
}