From a0274bbdd91759ef303d091ab38d8de179e56e98 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A1nos=20Benjamin=20Antal?= Date: Thu, 19 Jan 2023 10:42:09 +0100 Subject: [PATCH] Prevent reexecution of cursor when no output symbols are present --- src/query/v2/interpreter.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/query/v2/interpreter.cpp b/src/query/v2/interpreter.cpp index 23386bd1c..b447a0a2b 100644 --- a/src/query/v2/interpreter.cpp +++ b/src/query/v2/interpreter.cpp @@ -778,6 +778,8 @@ std::optional PullPlan::PullMultiple(AnyStrea break; } } + } else { + multi_frame_.MakeAllFramesInvalid(); } }