Support for explain containing single runtime instead of planning and execution time.
This commit is contained in:
parent
3dff4dade8
commit
8c077b3d5f
2 changed files with 8 additions and 3 deletions
|
|
@ -62,8 +62,9 @@ ExplainRoot::SPtr ExplainRoot::createFromJson(Json::Value &json)
|
|||
Json::Value &plan = explain["Plan"];
|
||||
res->plan = createPlanItemFromJson(plan);
|
||||
|
||||
res->planningTime = explain["Planning Time"].asFloat();
|
||||
res->planningTime = explain["Planning Time"].asFloat();
|
||||
res->executionTime = explain["Execution Time"].asFloat();
|
||||
res->totalRuntime = explain["Total Runtime"].asFloat();
|
||||
}
|
||||
}
|
||||
return res;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue