summaryrefslogtreecommitdiff
path: root/sql/sql_acl.cc
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2018-09-23 12:58:11 +0200
committerSergei Golubchik <serg@mariadb.org>2018-09-23 12:58:11 +0200
commit1fc5a6f30c3a9c047dcf9a36b00026d98f286f6b (patch)
tree0aa792118101ee3130b25b47316159aaccec52e2 /sql/sql_acl.cc
parent87dc4e98dda26ff99a3b3aeae2fce9fd2f2fdf24 (diff)
parent1144acbcbdf9b7bdf18c31f88cbe859d99658b53 (diff)
downloadmariadb-git-1fc5a6f30c3a9c047dcf9a36b00026d98f286f6b.tar.gz
Merge branch '10.0' into 10.1
Diffstat (limited to 'sql/sql_acl.cc')
-rw-r--r--sql/sql_acl.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/sql/sql_acl.cc b/sql/sql_acl.cc
index 3fab00a46df..72d65e14a94 100644
--- a/sql/sql_acl.cc
+++ b/sql/sql_acl.cc
@@ -10187,9 +10187,8 @@ bool sp_grant_privileges(THD *thd, const char *sp_db, const char *sp_name,
combo->user.str= (char *) sctx->priv_user;
mysql_mutex_lock(&acl_cache->lock);
-
- if ((au= find_user_wild(combo->host.str= (char *) sctx->priv_host,
- combo->user.str)))
+ if ((au= find_user_exact(combo->host.str= (char *) sctx->priv_host,
+ combo->user.str)))
goto found_acl;
mysql_mutex_unlock(&acl_cache->lock);