1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-05 13:16:09 +03:00

Make Explain_node::children protected

This commit is contained in:
Sergei Petrunia
2021-10-08 19:17:06 +03:00
parent 478020171d
commit 26eb666463

View File

@@ -121,11 +121,13 @@ public:
*/ */
enum explain_connection_type connection_type; enum explain_connection_type connection_type;
protected:
/* /*
A node may have children nodes. When a node's explain structure is 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. created, children nodes may not yet have QPFs. This is why we store ids.
*/ */
Dynamic_array<int> children; Dynamic_array<int> children;
public:
void add_child(int select_no) void add_child(int select_no)
{ {
children.append(select_no); children.append(select_no);