Finds a grantee - something that privileges or roles can be granted to. */
| 4646 | Finds a grantee - something that privileges or roles can be granted to. |
| 4647 | */ |
| 4648 | static ACL_USER_BASE *find_acl_user_base(const LEX_CSTRING &user, |
| 4649 | const LEX_CSTRING &host) |
| 4650 | { |
| 4651 | if (*host.str) |
| 4652 | return find_user_exact(host, user); |
| 4653 | |
| 4654 | return find_acl_role(user, true); |
| 4655 | } |
| 4656 | |
| 4657 | |
| 4658 | /* |
no test coverage detected