1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

MDEV-18333 Slow_queries count doesn't increase when slow_query_log is turned off

This commit is contained in:
Alexander Barkov
2019-02-27 13:14:31 +04:00
parent f2e1451740
commit 19df45a705
11 changed files with 161 additions and 29 deletions

View File

@ -28,7 +28,7 @@ int reassign_keycache_tables(THD* thd, KEY_CACHE *src_cache,
/**
Sql_cmd_analyze_table represents the ANALYZE TABLE statement.
*/
class Sql_cmd_analyze_table : public Sql_cmd
class Sql_cmd_analyze_table : public Sql_cmd_admin
{
public:
/**
@ -53,7 +53,7 @@ public:
/**
Sql_cmd_check_table represents the CHECK TABLE statement.
*/
class Sql_cmd_check_table : public Sql_cmd
class Sql_cmd_check_table : public Sql_cmd_admin
{
public:
/**
@ -77,7 +77,7 @@ public:
/**
Sql_cmd_optimize_table represents the OPTIMIZE TABLE statement.
*/
class Sql_cmd_optimize_table : public Sql_cmd
class Sql_cmd_optimize_table : public Sql_cmd_admin
{
public:
/**
@ -102,7 +102,7 @@ public:
/**
Sql_cmd_repair_table represents the REPAIR TABLE statement.
*/
class Sql_cmd_repair_table : public Sql_cmd
class Sql_cmd_repair_table : public Sql_cmd_admin
{
public:
/**