mirror of
https://github.com/MariaDB/server.git
synced 2025-09-02 09:41:40 +03:00
true,false -> TRUE, FALSE
Simple fixes/optimization of things discovered during review of new pushed code
This commit is contained in:
@@ -894,7 +894,7 @@ static int check_connection(THD *thd)
|
||||
x_free(thd->user);
|
||||
if (!(thd->user= my_strdup(user, MYF(0))))
|
||||
return (ER_OUT_OF_RESOURCES);
|
||||
return check_user(thd, COM_CONNECT, passwd, passwd_len, db, true);
|
||||
return check_user(thd, COM_CONNECT, passwd, passwd_len, db, TRUE);
|
||||
}
|
||||
|
||||
|
||||
@@ -4771,7 +4771,7 @@ bool reload_acl_and_cache(THD *thd, ulong options, TABLE_LIST *tables,
|
||||
acl_reload(thd);
|
||||
grant_reload(thd);
|
||||
if (mqh_used)
|
||||
reset_mqh(thd,(LEX_USER *) NULL,true);
|
||||
reset_mqh(thd,(LEX_USER *) NULL,TRUE);
|
||||
}
|
||||
#endif
|
||||
if (options & REFRESH_LOG)
|
||||
|
Reference in New Issue
Block a user