1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-27 18:02:13 +03:00

Merge mysql.com:/home/ram/work/b28808/b28808.5.0

into  mysql.com:/home/ram/work/b28808/b28808.5.1
This commit is contained in:
ramil/ram@ramil.myoffice.izhnet.ru
2007-07-09 10:20:45 +05:00
4 changed files with 19 additions and 5 deletions

View File

@ -1323,7 +1323,7 @@ void log_slow_statement(THD *thd)
thd->variables.long_query_time ||
((thd->server_status &
(SERVER_QUERY_NO_INDEX_USED | SERVER_QUERY_NO_GOOD_INDEX_USED)) &&
(specialflag & SPECIAL_LOG_QUERIES_NOT_USING_INDEXES)))
opt_log_queries_not_using_indexes))
{
thd->status_var.long_query_count++;
slow_log_print(thd, thd->query, thd->query_length, start_of_query);