From 82a5464a6caad702e3e1bce02153ce40a274637f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vicen=C8=9Biu=20Ciorbaru?= Date: Thu, 17 Oct 2013 20:50:06 -0700 Subject: [PATCH] Removed unused hash search. --- sql/sql_acl.cc | 3 --- 1 file changed, 3 deletions(-) diff --git a/sql/sql_acl.cc b/sql/sql_acl.cc index 00d7ff12d50..a4804d23c77 100644 --- a/sql/sql_acl.cc +++ b/sql/sql_acl.cc @@ -1144,9 +1144,6 @@ static my_bool acl_load(THD *thd, TABLE_LIST *tables) /* set initial role access the same as the table row privileges */ entry->initial_role_access = entry->access; my_hash_insert(&acl_roles, (uchar *)entry); - HASH_SEARCH_STATE t; - entry= (ACL_USER *) my_hash_first(&acl_roles, - (uchar *)entry->user.str, entry->user.length, &t); continue; }