summaryrefslogtreecommitdiff
path: root/sql/sql_explain.h
diff options
context:
space:
mode:
Diffstat (limited to 'sql/sql_explain.h')
-rw-r--r--sql/sql_explain.h6
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