1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-31 22:22:30 +03:00

Make window functions computation step show up in EXPLAIN FORMAT=JSON output

This commit is contained in:
Sergei Petrunia
2016-03-28 18:38:42 +03:00
parent 44fdb56c97
commit e88758330c
6 changed files with 129 additions and 11 deletions

View File

@@ -264,7 +264,8 @@ typedef enum
AGGR_OP_TEMP_TABLE,
AGGR_OP_FILESORT,
//AGGR_OP_READ_SORTED_FILE, // need this?
AGGR_OP_REMOVE_DUPLICATES
AGGR_OP_REMOVE_DUPLICATES,
AGGR_OP_WINDOW_FUNCS
//AGGR_OP_JOIN // Need this?
} enum_explain_aggr_node_type;
@@ -296,6 +297,11 @@ public:
enum_explain_aggr_node_type get_type() { return AGGR_OP_REMOVE_DUPLICATES; }
};
class Explain_aggr_window_funcs : public Explain_aggr_node
{
public:
enum_explain_aggr_node_type get_type() { return AGGR_OP_WINDOW_FUNCS; }
};
/////////////////////////////////////////////////////////////////////////////