mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Merge 10.6 into 10.11
This commit is contained in:
@@ -236,7 +236,7 @@ struct AUTHID
|
||||
LEX_CSTRING user, host;
|
||||
void init() { memset(this, 0, sizeof(*this)); }
|
||||
void copy(MEM_ROOT *root, const LEX_CSTRING *usr, const LEX_CSTRING *host);
|
||||
bool is_role() const { return user.str[0] && !host.str[0]; }
|
||||
bool is_role() const { return user.str[0] && (!host.str || !host.str[0]); }
|
||||
void set_lex_string(LEX_CSTRING *l, char *buf)
|
||||
{
|
||||
if (is_role())
|
||||
|
Reference in New Issue
Block a user