From 26eb6664636dd969e2e9c14cf0ac5d038a0c403c Mon Sep 17 00:00:00 2001 From: Sergei Petrunia Date: Fri, 8 Oct 2021 19:17:06 +0300 Subject: [PATCH] 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 @@ 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 children; +public: void add_child(int select_no) { children.append(select_no);