Skip to content

Commit 26eb666

Browse files
committed
Make Explain_node::children protected
1 parent 4780201 commit 26eb666

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sql/sql_explain.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,11 +121,13 @@ class Explain_node : public Sql_alloc
121121
*/
122122
enum explain_connection_type connection_type;
123123

124+
protected:
124125
/*
125126
A node may have children nodes. When a node's explain structure is
126127
created, children nodes may not yet have QPFs. This is why we store ids.
127128
*/
128129
Dynamic_array<int> children;
130+
public:
129131
void add_child(int select_no)
130132
{
131133
children.append(select_no);

0 commit comments

Comments
 (0)