summaryrefslogtreecommitdiff
path: root/sql/sql_acl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/sql_acl.cc')
-rw-r--r--sql/sql_acl.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_acl.cc b/sql/sql_acl.cc
index dd5ab783e4d..948a2e58c75 100644
--- a/sql/sql_acl.cc
+++ b/sql/sql_acl.cc
@@ -7226,7 +7226,7 @@ bool sp_grant_privileges(THD *thd, const char *sp_db, const char *sp_name,
mysql_mutex_lock(&acl_cache->lock);
if ((au= find_acl_user(combo->host.str= (char *) sctx->priv_host,
- combo->user.str, FALSE)))
+ combo->user.str, TRUE)))
goto found_acl;
mysql_mutex_unlock(&acl_cache->lock);