mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
MDEV-18333 Slow_queries count doesn't increase when slow_query_log is turned off
This commit is contained in:
@ -89,7 +89,6 @@ bool Sql_cmd_alter_table_exchange_partition::execute(THD *thd)
|
||||
/* Not allowed with EXCHANGE PARTITION */
|
||||
DBUG_ASSERT(!create_info.data_file_name && !create_info.index_file_name);
|
||||
|
||||
thd->enable_slow_log= opt_log_slow_admin_statements;
|
||||
DBUG_RETURN(exchange_partition(thd, first_table, &alter_info));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user