diff options
author | Oleksandr Byelkin <sanja@mariadb.com> | 2017-03-14 11:52:00 +0100 |
---|---|---|
committer | Oleksandr Byelkin <sanja@mariadb.com> | 2017-03-14 11:52:00 +0100 |
commit | 05d3c3d3f748f74bbd12924d090f882c5c928249 (patch) | |
tree | d15b528bced3ab5b1ce86ea0569eeba2efe67115 /sql/sql_explain.h | |
parent | e43156e1a679c95413aab2c4bf9523da7947fc18 (diff) | |
download | mariadb-git-05d3c3d3f748f74bbd12924d090f882c5c928249.tar.gz |
MDEV-10141: Add support for INTERSECT (and common parts for EXCEPT)
MDEV-10140: Add support for EXCEPT
Diffstat (limited to 'sql/sql_explain.h')
-rw-r--r-- | sql/sql_explain.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/sql/sql_explain.h b/sql/sql_explain.h index 5793599f4e1..6e1b55e2b00 100644 --- a/sql/sql_explain.h +++ b/sql/sql_explain.h @@ -207,6 +207,7 @@ public: Explain_select(MEM_ROOT *root, bool is_analyze) : Explain_basic_join(root), + linkage(UNSPECIFIED_TYPE), message(NULL), having(NULL), having_value(Item::COND_UNDEF), using_temporary(false), using_filesort(false), @@ -214,8 +215,11 @@ public: aggr_tree(NULL) {} + void add_linkage(Json_writer *writer); + public: const char *select_type; + enum sub_select_type linkage; /* If message != NULL, this is a degenerate join plan, and all subsequent @@ -316,7 +320,9 @@ public: ///////////////////////////////////////////////////////////////////////////// -/* +extern const char *unit_operation_text[4]; + +/* Explain structure for a UNION. A UNION may or may not have "Using filesort". @@ -332,6 +338,7 @@ public: {} enum explain_node_type get_type() { return EXPLAIN_UNION; } + unit_common_op operation; int get_select_id() { |