diff options
author | Sergei Petrunia <psergey@askmonty.org> | 2021-10-08 19:17:06 +0300 |
---|---|---|
committer | Sergei Petrunia <psergey@askmonty.org> | 2021-10-08 19:17:06 +0300 |
commit | 26eb6664636dd969e2e9c14cf0ac5d038a0c403c (patch) | |
tree | a870f1d02b3926d9c16f9ce592d6f7cc37369171 | |
parent | 478020171dd048e2584fd774e3cb30a9c4ae690b (diff) | |
download | mariadb-git-26eb6664636dd969e2e9c14cf0ac5d038a0c403c.tar.gz |
Make Explain_node::children protected
-rw-r--r-- | sql/sql_explain.h | 2 |
1 files changed, 2 insertions, 0 deletions
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<int> children; +public: void add_child(int select_no) { children.append(select_no); |