From 9421a3fbab26c04ca6bc15f83ba2b13d4c157dc8 Mon Sep 17 00:00:00 2001 From: Laurens Kuiper Date: Thu, 26 Sep 2024 13:09:29 +0200 Subject: [PATCH] flush after drop --- src/execution/operator/schema/physical_drop.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/execution/operator/schema/physical_drop.cpp b/src/execution/operator/schema/physical_drop.cpp index cfb6841a8bc2..0bd2a9307974 100644 --- a/src/execution/operator/schema/physical_drop.cpp +++ b/src/execution/operator/schema/physical_drop.cpp @@ -55,6 +55,10 @@ SourceResultType PhysicalDrop::GetData(ExecutionContext &context, DataChunk &chu } } + if (Allocator::SupportsFlush()) { + Allocator::FlushAll(); + } + return SourceResultType::FINISHED; }