mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Merge branch '10.2' into 10.3
This commit is contained in:
@ -5104,20 +5104,6 @@ bool LEX::is_partition_management() const
|
||||
}
|
||||
|
||||
|
||||
bool Sql_cmd::log_slow_enabled_statement(const THD *thd) const
|
||||
{
|
||||
return global_system_variables.sql_log_slow && thd->variables.sql_log_slow;
|
||||
}
|
||||
|
||||
|
||||
bool Sql_cmd_admin::log_slow_enabled_statement(const THD *thd) const
|
||||
{
|
||||
return !MY_TEST(thd->variables.log_slow_disabled_statements &
|
||||
LOG_SLOW_DISABLE_ADMIN) &&
|
||||
Sql_cmd::log_slow_enabled_statement(thd);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
Exclude last added SELECT_LEX (current) in the UNIT and return pointer in it
|
||||
(previous become currect)
|
||||
|
Reference in New Issue
Block a user