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:
@@ -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; }
|
||||
};
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
Reference in New Issue
Block a user