mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
BK makes me problems.
I did not know I can't do chmod ... So, it killed some of my changes. But I am smarter, and as I have first saved my work, before BK ruined it, so here it comes ...
This commit is contained in:
@ -2849,6 +2849,16 @@ int mysql_show_grants(THD *thd,LEX_USER *lex_user)
|
||||
}
|
||||
|
||||
|
||||
uint get_mqh(const char *user, const char *host)
|
||||
{
|
||||
if (!initialized) return 0;
|
||||
|
||||
ACL_USER *acl_user;
|
||||
acl_user= find_acl_user(host,user);
|
||||
return (acl_user) ? acl_user->questions : 0;
|
||||
}
|
||||
|
||||
|
||||
/*****************************************************************************
|
||||
** Instantiate used templates
|
||||
*****************************************************************************/
|
||||
|
Reference in New Issue
Block a user