[Commits] 26eb6664636: Make Explain_node::children protected
revision-id: 26eb6664636dd969e2e9c14cf0ac5d038a0c403c (mariadb-10.2.40-81-g26eb6664636) parent(s): 478020171dd048e2584fd774e3cb30a9c4ae690b author: Sergei Petrunia committer: Sergei Petrunia timestamp: 2021-10-08 19:17:06 +0300 message: Make Explain_node::children protected --- sql/sql_explain.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sql/sql_explain.h b/sql/sql_explain.h index 08af84b3562..852dc2df604 100644 --- a/sql/sql_explain.h +++ b/sql/sql_explain.h @@ -121,11 +121,13 @@ class Explain_node : public Sql_alloc */ 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);
participants (1)
-
psergey