mirror of
https://github.com/MariaDB/server.git
synced 2025-10-16 22:27:52 +03:00
Fixed problems detected by pushbuild
mysql-test/t/log_state.test: Move disconnect last to avoid sporadic failures in test because 'Quit' command appeared in general log plugin/daemon_example/daemon_example.c: Define __attribute__ to fix compiler error with not gcc compilers sql-common/client.c: Fixed spelling error sql/sql_parse.cc: Added comment
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