Bug fix in interpreter (dynamic wrong cast type)

Reviewers: buda, florijan

Reviewed By: buda

Differential Revision: https://phabricator.memgraph.io/D233
This commit is contained in:
Mislav Bradac 2017-04-05 18:01:20 +02:00
parent 8c7ed8c186
commit f7f44a3e81

View File

@ -70,7 +70,7 @@ void Interpret(const std::string &query, GraphDbAccessor &db_accessor,
dynamic_cast<plan::SetLabels *>(logical_plan.get()) ||
dynamic_cast<plan::RemoveProperty *>(logical_plan.get()) ||
dynamic_cast<plan::RemoveLabels *>(logical_plan.get()) ||
dynamic_cast<Delete *>(logical_plan.get())) {
dynamic_cast<plan::Delete *>(logical_plan.get())) {
stream.Header(header);
auto cursor = logical_plan.get()->MakeCursor(db_accessor);
while (cursor->Pull(frame, symbol_table)) continue;