summaryrefslogtreecommitdiff
path: root/sql/sql_explain.h
diff options
context:
space:
mode:
authorSergei Petrunia <psergey@askmonty.org>2020-05-06 23:44:34 +0300
committerSergei Petrunia <psergey@askmonty.org>2020-05-06 23:44:34 +0300
commitd01d94d77bbb663caca2f34f4b25d5db028f4c4d (patch)
tree18f1238255918309568e088d9017c5eda0ceab79 /sql/sql_explain.h
parent8648b9bed86e9f52c027daec760d6ab5ce52e889 (diff)
downloadmariadb-git-d01d94d77bbb663caca2f34f4b25d5db028f4c4d.tar.gz
MDEV-17568: LATERAL DERIVED is not clearly visible in EXPLAIN FORMAT=JSON
Make LATERAL DERIVED tables visible in EXPLAIN FORMAT=JSON output.
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 7a814dfa3af..97fe07572cf 100644
--- a/sql/sql_explain.h
+++ b/sql/sql_explain.h
@@ -211,6 +211,7 @@ public:
select_lex(NULL),
#endif
linkage(UNSPECIFIED_TYPE),
+ is_lateral(false),
message(NULL),
having(NULL), having_value(Item::COND_UNDEF),
using_temporary(false), using_filesort(false),
@@ -226,6 +227,7 @@ public:
#endif
const char *select_type;
enum sub_select_type linkage;
+ bool is_lateral;
/*
If message != NULL, this is a degenerate join plan, and all subsequent