1
0
mirror of https://github.com/MariaDB/server.git synced 2026-01-06 05:22:24 +03:00

WL#5571 - Audit interface: MYSQL_AUDIT_GENERAL_STATUS event

This commit is contained in:
Sergey Vojtovich
2010-12-14 17:34:23 +03:00
parent f09e9efe85
commit 9b6ba6a99a
7 changed files with 141 additions and 3 deletions

View File

@@ -728,9 +728,12 @@ void do_handle_one_connection(THD *thd_arg)
for (;;)
{
NET *net= &thd->net;
bool rc;
lex_start(thd);
if (login_connection(thd))
rc= login_connection(thd);
MYSQL_AUDIT_NOTIFY_CONNECTION_CONNECT(thd);
if (rc)
goto end_thread;
MYSQL_CONNECTION_START(thd->thread_id, thd->security_ctx->priv_user,