fix style

This commit is contained in:
Yarik Briukhovetskyi 2024-03-07 12:34:53 +01:00 committed by Jake Bamrah
parent 77223d682d
commit 4aab1170ef

View File

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