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

After-merge fix for MDEV-18333 Slow_queries count doesn't increase when slow_query_log is turned off

This commit is contained in:
Alexander Barkov
2019-03-06 23:44:58 +04:00
parent 77103e9832
commit f0cd707503
3 changed files with 3 additions and 5 deletions

View File

@@ -4839,8 +4839,6 @@ public:
inline void prepare_logs_for_admin_command()
{
enable_slow_log&= !MY_TEST(variables.log_slow_disabled_statements &
LOG_SLOW_DISABLE_ADMIN);
query_plan_flags|= QPLAN_ADMIN;
}
};