From 8c7ca88a6cce44c52ffb3018ed0fbfe85bcfbcac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vicen=C8=9Biu=20Ciorbaru?= Date: Fri, 18 Oct 2013 06:34:18 -0700 Subject: [PATCH] Added comment for database privilege checks. --- sql/sql_acl.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/sql/sql_acl.cc b/sql/sql_acl.cc index b14bad9b600..53630c6b223 100644 --- a/sql/sql_acl.cc +++ b/sql/sql_acl.cc @@ -2250,6 +2250,7 @@ ulong acl_get(const char *host, const char *ip, db_access=acl_db->access; if (acl_db->host.hostname) goto exit; // Fully specified. Take it + /* the host table is not used for roles */ if ((!host || !host[0]) && !acl_db->host.hostname && find_acl_role(user)) goto exit; break; /* purecov: tested */