summaryrefslogtreecommitdiff
path: root/sql/sql_explain.h
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_explain.h
parentafd59b575a75ebbc57f71ce2865fdff85e3e233b (diff)
downloadmariadb-git-3025c42605af4d3341d0df155525dc174fe10843.tar.gz
Make ANALYZE FORMAT=JSON show execution time for filesort element.
Diffstat (limited to 'sql/sql_explain.h')
-rw-r--r--sql/sql_explain.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/sql/sql_explain.h b/sql/sql_explain.h
index 1b6a1be5649..f92a57627d5 100644
--- a/sql/sql_explain.h
+++ b/sql/sql_explain.h
@@ -210,7 +210,8 @@ public:
Explain_basic_join(root),
message(NULL),
using_temporary(false), using_filesort(false),
- time_tracker(is_analyze)
+ time_tracker(is_analyze),
+ ops_tracker(is_analyze)
{}
/*
@@ -729,6 +730,8 @@ private:
This is similar to Explain_table_access, except that it is more restrictive.
Also, it can have UPDATE operation options, but currently there aren't any.
+
+ Explain_delete inherits from this.
*/
class Explain_update : public Explain_node