From dbebdc3dcad9521d48d9141748ae198c0338375c Mon Sep 17 00:00:00 2001 From: alesapin Date: Mon, 16 Oct 2023 11:05:59 +0200 Subject: [PATCH] Fix comment --- src/Storages/StorageReplicatedMergeTree.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Storages/StorageReplicatedMergeTree.cpp b/src/Storages/StorageReplicatedMergeTree.cpp index 91c004e0883..f76a9a95ba2 100644 --- a/src/Storages/StorageReplicatedMergeTree.cpp +++ b/src/Storages/StorageReplicatedMergeTree.cpp @@ -5764,7 +5764,7 @@ void StorageReplicatedMergeTree::alter( while (true) { if (shutdown_called || partial_shutdown_called) - throw Exception(ErrorCodes::ABORTED, "Cannot assing alter because shutdown called"); + throw Exception(ErrorCodes::ABORTED, "Cannot assign alter because shutdown called"); bool pulled_queue = false; std::optional maybe_mutations_version_after_logs_pull; @@ -5774,7 +5774,7 @@ void StorageReplicatedMergeTree::alter( if (command.isDropSomething()) { if (shutdown_called || partial_shutdown_called) - throw Exception(ErrorCodes::ABORTED, "Cannot assing alter because shutdown called"); + throw Exception(ErrorCodes::ABORTED, "Cannot assign alter because shutdown called"); if (!pulled_queue) {