From 4aab1170ef6c167df867a0565968744f9eb79852 Mon Sep 17 00:00:00 2001 From: Yarik Briukhovetskyi <114298166+yariks5s@users.noreply.github.com> Date: Thu, 7 Mar 2024 12:34:53 +0100 Subject: [PATCH] fix style --- src/Storages/StorageMemory.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Storages/StorageMemory.cpp b/src/Storages/StorageMemory.cpp index 1a7a76ee285..6afe3331054 100644 --- a/src/Storages/StorageMemory.cpp +++ b/src/Storages/StorageMemory.cpp @@ -104,9 +104,8 @@ public: Settings settings = context->getSettings(); if ((settings.min_bytes_to_keep && settings.min_bytes_to_keep > settings.max_bytes_to_keep) - || (settings.min_rows_to_keep && settings.min_rows_to_keep > settings.max_rows_to_keep)) { + || (settings.min_rows_to_keep && settings.min_rows_to_keep > settings.max_rows_to_keep)) throw Exception(ErrorCodes::SETTING_CONSTRAINT_VIOLATION, "Min. bytes / rows must be set with a max."); - } std::lock_guard lock(storage.mutex);