1
0
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:
monty@mysql.com/narttu.mysql.fi
2007-01-30 13:52:26 +02:00
parent 1f6d91c5a6
commit 25e481aed8
4 changed files with 14 additions and 6 deletions

View File

@@ -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 ?