Update StorageMergeTree.cpp

This commit is contained in:
Alexander Tokmakov 2023-05-03 19:30:44 +03:00 committed by GitHub
parent f3f6cfdcbb
commit ff70d26c23
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;