summaryrefslogtreecommitdiff
path: root/sql/sql_explain.h
diff options
context:
space:
mode:
authorSergei Petrunia <psergey@askmonty.org>2014-11-27 19:32:48 +0300
committerSergei Petrunia <psergey@askmonty.org>2014-11-27 19:32:48 +0300
commit37c444e1a079b25d0a34efbbc2fadfae17999966 (patch)
tree9f6a6cb52ad06d5fd7caf23bd401414421432caa /sql/sql_explain.h
parent3d5f97fd708e12201636179baee2c8bc0093c109 (diff)
downloadmariadb-git-37c444e1a079b25d0a34efbbc2fadfae17999966.tar.gz
EXPLAIN FORMAT=JSON: further development
Writing JSON: - Fix a bug in Single_line_formatting_helper - Add Json_writer_nesting_guard - safety class EXPLAIN JSON support - Add basic subquery support - Add tests for UNION/UNION ALL.
Diffstat (limited to 'sql/sql_explain.h')
-rw-r--r--sql/sql_explain.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/sql_explain.h b/sql/sql_explain.h
index 9c0c8ec0c11..39392d370d9 100644
--- a/sql/sql_explain.h
+++ b/sql/sql_explain.h
@@ -112,6 +112,8 @@ public:
int print_explain_for_children(Explain_query *query, select_result_sink *output,
uint8 explain_flags, bool is_analyze);
+ void print_explain_json_for_children(Explain_query *query,
+ Json_writer *writer, bool is_analyze);
virtual ~Explain_node(){}
};