summaryrefslogtreecommitdiff
path: root/sql/sql_explain.h
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2021-10-13 13:28:12 +0300
committerMarko Mäkelä <marko.makela@mariadb.com>2021-10-13 13:28:12 +0300
commita8379e53e8fa2f0c091daaf28b095d652e224952 (patch)
tree20ad6e6dbacd01c43298d11f1b4c77bce50165f9 /sql/sql_explain.h
parentebd52051206620a0944ffc084582532c0c394523 (diff)
parentaae72f821abbee4d63a0925c06b18422d4c08ee8 (diff)
downloadmariadb-git-a8379e53e8fa2f0c091daaf28b095d652e224952.tar.gz
Merge 10.5 into 10.6
The changes to galera.galear_var_replicate_myisam_on in commit d9b933bec6061758c5d7b34f55afcae32a85c110 are omitted due to conflicts with commit 27d66d644cf2ebe9201e0362f2050036cce2908a.
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 d034d7cbf35..bfd52290374 100644
--- a/sql/sql_explain.h
+++ b/sql/sql_explain.h
@@ -121,11 +121,13 @@ public:
*/
enum explain_connection_type connection_type;
+protected:
/*
A node may have children nodes. When a node's explain structure is
created, children nodes may not yet have QPFs. This is why we store ids.
*/
Dynamic_array<int> children;
+public:
void add_child(int select_no)
{
children.append(select_no);