Commit 2936fb12 authored by Sergei Petrunia's avatar Sergei Petrunia

MDEV-7919: main.explain_json* fail in buildbot with valgrind

Correctly initialize Explain_node::connection_type, remove unused
Explain_node constructor.
parent 47c344b0
......@@ -160,8 +160,9 @@ class Explain_query;
class Explain_node : public Sql_alloc
{
public:
Explain_node(MEM_ROOT *root)
:children(root)
Explain_node(MEM_ROOT *root) :
connection_type(EXPLAIN_NODE_OTHER),
children(root)
{}
/* A type specifying what kind of node this is */
enum explain_node_type
......@@ -181,7 +182,6 @@ public:
EXPLAIN_NODE_NON_MERGED_SJ /* aka JTBM semi-join */
};
Explain_node() : connection_type(EXPLAIN_NODE_OTHER) {}
virtual enum explain_node_type get_type()= 0;
virtual int get_select_id()= 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment