mirror of
https://github.com/MariaDB/server.git
synced 2026-04-29 03:35:34 +02:00
WL #562: Change format of slow log in 4.1
This commit is contained in:
parent
67b5aa64c9
commit
118d6df516
4 changed files with 25 additions and 12 deletions
|
|
@ -1566,7 +1566,7 @@ bool dispatch_command(enum enum_server_command command, THD *thd,
|
|||
thd->variables.long_query_time ||
|
||||
((thd->lex.select_lex.options &
|
||||
(QUERY_NO_INDEX_USED | QUERY_NO_GOOD_INDEX_USED)) &&
|
||||
(specialflag & SPECIAL_LONG_LOG_FORMAT)))
|
||||
(specialflag & SPECIAL_LOG_QUERIES_NOT_USING_INDEXES)))
|
||||
{
|
||||
long_query_count++;
|
||||
mysql_slow_log.write(thd, thd->query, thd->query_length, start_of_query);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue