mirror of
https://github.com/MariaDB/server.git
synced 2025-09-02 09:41:40 +03:00
Fixed problems detected by pushbuild
This commit is contained in:
@@ -413,7 +413,11 @@ int check_user(THD *thd, enum enum_server_command command,
|
||||
}
|
||||
}
|
||||
|
||||
/* Why logging is performed before all checks've passed? */
|
||||
/*
|
||||
Log the command before authentication checks, so that the user can
|
||||
check the log for the tried login tried and also to detect
|
||||
break-in attempts.
|
||||
*/
|
||||
general_log_print(thd, command,
|
||||
(thd->main_security_ctx.priv_user ==
|
||||
thd->main_security_ctx.user ?
|
||||
|
Reference in New Issue
Block a user