From 1292d141854305223cd7defa31d77be3e9c48b5a Mon Sep 17 00:00:00 2001 From: alexey-milovidov Date: Tue, 9 Jan 2018 21:00:19 +0300 Subject: [PATCH] Update MergeTreeData.cpp --- dbms/src/Storages/MergeTree/MergeTreeData.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dbms/src/Storages/MergeTree/MergeTreeData.cpp b/dbms/src/Storages/MergeTree/MergeTreeData.cpp index bb9aea521db..6ff45bbdda3 100644 --- a/dbms/src/Storages/MergeTree/MergeTreeData.cpp +++ b/dbms/src/Storages/MergeTree/MergeTreeData.cpp @@ -290,7 +290,7 @@ void MergeTreeData::MergingParams::check(const NamesAndTypesList & columns) cons } } - if(miss_column) + if (miss_column) throw Exception("Sign column " + sign_column + " does not exist in table declaration."); } else if (!sign_column.empty()) @@ -334,7 +334,7 @@ void MergeTreeData::MergingParams::check(const NamesAndTypesList & columns) cons break; } } - if(miss_column) + if (miss_column) throw Exception("Version column " + version_column + " does not exist in table declaration."); }