mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Make ANALYZE FORMAT=JSON show execution time for filesort element.
This commit is contained in:
@@ -9374,7 +9374,7 @@ copy_data_between_tables(THD *thd, TABLE *from, TABLE *to,
|
||||
tables.db= from->s->db.str;
|
||||
|
||||
THD_STAGE_INFO(thd, stage_sorting);
|
||||
Filesort_tracker dummy_tracker;
|
||||
Filesort_tracker dummy_tracker(false);
|
||||
if (thd->lex->select_lex.setup_ref_array(thd, order_num) ||
|
||||
setup_order(thd, thd->lex->select_lex.ref_pointer_array,
|
||||
&tables, fields, all_fields, order) ||
|
||||
|
Reference in New Issue
Block a user