summaryrefslogtreecommitdiff
path: root/sql/sql_delete.cc
diff options
context:
space:
mode:
authorSergei Petrunia <psergey@askmonty.org>2015-08-07 17:41:35 +0300
committerSergei Petrunia <psergey@askmonty.org>2015-08-07 17:41:35 +0300
commit3025c42605af4d3341d0df155525dc174fe10843 (patch)
tree1367846717f0f139787677080f2d21dbb154c251 /sql/sql_delete.cc
parentafd59b575a75ebbc57f71ce2865fdff85e3e233b (diff)
downloadmariadb-git-3025c42605af4d3341d0df155525dc174fe10843.tar.gz
Make ANALYZE FORMAT=JSON show execution time for filesort element.
Diffstat (limited to 'sql/sql_delete.cc')
-rw-r--r--sql/sql_delete.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_delete.cc b/sql/sql_delete.cc
index 9eeddd30849..813dd075738 100644
--- a/sql/sql_delete.cc
+++ b/sql/sql_delete.cc
@@ -159,7 +159,7 @@ void Update_plan::save_explain_data_intern(MEM_ROOT *mem_root,
explain->where_cond= select? select->cond: NULL;
if (using_filesort)
- explain->filesort_tracker= new (mem_root) Filesort_tracker;
+ explain->filesort_tracker= new (mem_root) Filesort_tracker(is_analyze);
explain->using_io_buffer= using_io_buffer;
append_possible_keys(mem_root, explain->possible_keys, table,