diff options
author | Oleksandr Byelkin <sanja@mariadb.com> | 2015-04-08 10:13:36 +0200 |
---|---|---|
committer | Oleksandr Byelkin <sanja@mariadb.com> | 2015-04-09 14:21:02 +0200 |
commit | 697194461ad2031420bc1aaf8a03432dbf2acd66 (patch) | |
tree | a05b8dd781ed7b3b2aa55222947e34b41825b4d1 /sql/sql_explain.h | |
parent | abba4184e68f2ae652f1be19b04f32efb2cb354a (diff) | |
download | mariadb-git-697194461ad2031420bc1aaf8a03432dbf2acd66.tar.gz |
MDEV-7856: EXPLAIN FORMAT=JSON should show partitions
Diffstat (limited to 'sql/sql_explain.h')
-rw-r--r-- | sql/sql_explain.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sql/sql_explain.h b/sql/sql_explain.h index 9c6171aa6d0..f4f421a76a4 100644 --- a/sql/sql_explain.h +++ b/sql/sql_explain.h @@ -51,6 +51,9 @@ it into the slow query log. */ +#ifndef SQL_EXPLAIN_INCLUDED +#define SQL_EXPLAIN_INCLUDED + class String_list: public List<char> { public: @@ -646,6 +649,7 @@ public: /* id and 'select_type' are cared-of by the parent Explain_select */ StringBuffer<32> table_name; StringBuffer<32> used_partitions; + String_list used_partitions_list; // valid with ET_USING_MRR StringBuffer<32> mrr_type; StringBuffer<32> firstmatch_table_name; @@ -768,6 +772,7 @@ public: const char *select_type; StringBuffer<32> used_partitions; + String_list used_partitions_list; bool used_partitions_set; bool impossible_where; @@ -863,3 +868,4 @@ public: }; +#endif //SQL_EXPLAIN_INCLUDED |