From ff70d26c23c74261f57f650996262605e5bbde8d Mon Sep 17 00:00:00 2001 From: Alexander Tokmakov Date: Wed, 3 May 2023 19:30:44 +0300 Subject: [PATCH] Update StorageMergeTree.cpp --- src/Storages/StorageMergeTree.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Storages/StorageMergeTree.cpp b/src/Storages/StorageMergeTree.cpp index e9170074df4..13b23728313 100644 --- a/src/Storages/StorageMergeTree.cpp +++ b/src/Storages/StorageMergeTree.cpp @@ -551,7 +551,7 @@ void StorageMergeTree::waitForMutation(Int64 version, const String & mutation_id { LOG_INFO(log, "Waiting mutation: {}", mutation_id); { - auto check = [version, this]() + auto check = [version, wait_for_another_mutation, this]() { if (shutdown_called) return true;