1
0
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:
unknown
2007-01-30 13:52:26 +02:00
parent 721e412854
commit 6e501e6548
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 ?