From f7f44a3e8105f672ffc14926cb542ab5cd4c4ba0 Mon Sep 17 00:00:00 2001 From: Mislav Bradac Date: Wed, 5 Apr 2017 18:01:20 +0200 Subject: [PATCH] Bug fix in interpreter (dynamic wrong cast type) Reviewers: buda, florijan Reviewed By: buda Differential Revision: https://phabricator.memgraph.io/D233 --- src/query/interpreter.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/query/interpreter.hpp b/src/query/interpreter.hpp index 323e002f3..e2d1bbde2 100644 --- a/src/query/interpreter.hpp +++ b/src/query/interpreter.hpp @@ -70,7 +70,7 @@ void Interpret(const std::string &query, GraphDbAccessor &db_accessor, dynamic_cast(logical_plan.get()) || dynamic_cast(logical_plan.get()) || dynamic_cast(logical_plan.get()) || - dynamic_cast(logical_plan.get())) { + dynamic_cast(logical_plan.get())) { stream.Header(header); auto cursor = logical_plan.get()->MakeCursor(db_accessor); while (cursor->Pull(frame, symbol_table)) continue;