summaryrefslogtreecommitdiff
path: root/sql/sql_acl.cc
diff options
context:
space:
mode:
authorJan Lindström <jan.lindstrom@mariadb.com>2018-10-29 18:45:19 +0200
committerJan Lindström <jan.lindstrom@mariadb.com>2018-10-29 18:45:19 +0200
commit2ee9343c873ad31c2dd0d2175dec2ef3b48ca5ba (patch)
treeaa51c10a594658b3668ff850c8fa7ece175a2692 /sql/sql_acl.cc
parent8b92c642981e7b226e0d93b958cc470bb1e6fad0 (diff)
parent893ebb739e24637985892da1555f2e6f1a8ac5b6 (diff)
downloadmariadb-git-mariadb-galera-5.5.62.tar.gz
Merge tag 'mariadb-5.5.62' into 5.5-galeramariadb-galera-5.5.62
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);