mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +03:00
Merge branch '10.6' into 10.9
This commit is contained in:
@@ -124,9 +124,12 @@ bool Update_plan::save_explain_data_intern(THD *thd,
|
||||
if (is_analyze ||
|
||||
(thd->variables.log_slow_verbosity &
|
||||
LOG_SLOW_VERBOSITY_ENGINE))
|
||||
{
|
||||
table->file->set_time_tracker(&explain->table_tracker);
|
||||
|
||||
explain->handler_for_stats= table->file;
|
||||
if (table->file->handler_stats && table->s->tmp_table != INTERNAL_TMP_TABLE)
|
||||
explain->handler_for_stats= table->file;
|
||||
}
|
||||
|
||||
select_lex->set_explain_type(TRUE);
|
||||
explain->select_type= select_lex->type;
|
||||
|
Reference in New Issue
Block a user