diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2021-10-13 11:38:21 +0300 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2021-10-13 11:38:21 +0300 |
commit | 4a7dfda373ff9e28e4f4f35bad76cbfc20934a9a (patch) | |
tree | c8b327da16aa30bc5a26bfa31a2563af1c6f4976 /sql/sql_explain.h | |
parent | ff77a09bda884fe6bf3917eb29b9d3a2f53f919b (diff) | |
parent | 2bb8d7c2f36439ab6a3944476665eb1218c36f5c (diff) | |
download | mariadb-git-4a7dfda373ff9e28e4f4f35bad76cbfc20934a9a.tar.gz |
Merge 10.2 into 10.3
Diffstat (limited to 'sql/sql_explain.h')
-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 97fe07572cf..73b9eb19435 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); |