1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-27 18:02:13 +03:00
Events: Event-caused statements don't appear in the slow query log
WL#1034
This commit is contained in:
andrey@lmy004.
2006-03-01 02:34:22 +01:00
parent 8e881441a1
commit a9884c4c0a
8 changed files with 140 additions and 4 deletions

View File

@ -2111,6 +2111,7 @@ bool dispatch_command(enum enum_server_command command, THD *thd,
void log_slow_statement(THD *thd)
{
DBUG_ENTER("log_slow_statement");
time_t start_of_query;
/*
@ -2142,6 +2143,7 @@ void log_slow_statement(THD *thd)
slow_log_print(thd, thd->query, thd->query_length, start_of_query);
}
}
DBUG_VOID_RETURN;
}