Skip to content
Snippets Groups Projects
Unverified Commit ca22a878 authored by Shylock Hg's avatar Shylock Hg Committed by GitHub
Browse files

Fix the compile error. (#193)

parent 1b9c6202
No related branches found
No related tags found
No related merge requests found
......@@ -48,7 +48,10 @@ static size_t makePlanNodeDesc(const PlanNode* node, cpp2::PlanDescription* plan
planNodeDesc.set_id(node->id());
planNodeDesc.set_name(PlanNode::toString(node->kind()));
planNodeDesc.set_output_var(node->varName());
planNodeDesc.set_description({{"description", node->explain()}});
cpp2::Pair p;
p.set_key("description");
p.set_value(node->explain());
planNodeDesc.set_description({std::move(p)});
switch (node->kind()) {
case PlanNode::Kind::kStart: {
......
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