mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Merge 10.3 into 10.4
This commit is contained in:
@ -2544,7 +2544,7 @@ void log_slow_statement(THD *thd)
|
||||
if ((thd->server_status &
|
||||
(SERVER_QUERY_NO_INDEX_USED | SERVER_QUERY_NO_GOOD_INDEX_USED)) &&
|
||||
!(thd->query_plan_flags & QPLAN_STATUS) &&
|
||||
!slow_filter_masked(thd, QPLAN_NOT_USING_INDEX))
|
||||
(thd->variables.log_slow_filter & QPLAN_NOT_USING_INDEX))
|
||||
{
|
||||
thd->query_plan_flags|= QPLAN_NOT_USING_INDEX;
|
||||
/* We are always logging no index queries if enabled in filter */
|
||||
|
Reference in New Issue
Block a user