From 22f5d6d7085ab9f1b0b8d005bd0d36887a610d49 Mon Sep 17 00:00:00 2001 From: Antonio Andelic Date: Thu, 12 Oct 2023 10:57:21 +0000 Subject: [PATCH] Reset promise_to_build --- src/Processors/Transforms/CreatingSetsTransform.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Processors/Transforms/CreatingSetsTransform.cpp b/src/Processors/Transforms/CreatingSetsTransform.cpp index bf1f34ba181..e2b7e990685 100644 --- a/src/Processors/Transforms/CreatingSetsTransform.cpp +++ b/src/Processors/Transforms/CreatingSetsTransform.cpp @@ -75,6 +75,7 @@ void CreatingSetsTransform::work() try { promise_to_build->set_exception(std::current_exception()); + promise_to_build.reset(); } catch (...) {