From 7f9eceadb333476d28801580296a92411219b960 Mon Sep 17 00:00:00 2001 From: jeremy Date: Mon, 5 Dec 2022 11:19:47 +0100 Subject: [PATCH] Remove un-needed frame modification in Once This is not needed and would be incorrect with the optional --- src/query/v2/plan/operator.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/query/v2/plan/operator.cpp b/src/query/v2/plan/operator.cpp index 9a000face..eeb5cd6b4 100644 --- a/src/query/v2/plan/operator.cpp +++ b/src/query/v2/plan/operator.cpp @@ -269,11 +269,7 @@ void Once::OnceCursor::PullMultiple(MultiFrame &multi_frame, ExecutionContext &c if (!did_pull_) { auto &first_frame = multi_frame.GetFirstFrame(); - auto *memory_resource = first_frame.GetMemoryResource(); first_frame.MakeValid(); - for (auto &value : first_frame.elems()) { - value = TypedValue{memory_resource}; - } did_pull_ = true; } }