From 37d6b5ae56ae282c6628cd0ad23008f7ae04c269 Mon Sep 17 00:00:00 2001 From: Alexey Milovidov Date: Mon, 25 Apr 2016 00:46:14 +0300 Subject: [PATCH] Addition to prev. revision [#METR-21048]. --- dbms/src/Storages/tests/merge_tree.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/dbms/src/Storages/tests/merge_tree.cpp b/dbms/src/Storages/tests/merge_tree.cpp index 885d26b642f..0d155f9eba4 100644 --- a/dbms/src/Storages/tests/merge_tree.cpp +++ b/dbms/src/Storages/tests/merge_tree.cpp @@ -43,11 +43,14 @@ int main(int argc, char ** argv) if (!parser.parse(begin, end, primary_expr, max_parsed_pos, expected)) throw Poco::Exception("Cannot parse " + primary_expr_str); + MergeTreeData::MergingParams params; + params.mode = MergeTreeData::MergingParams::Ordinary; + StoragePtr table = StorageMergeTree::create( "./", "default", "test", names_and_types, {}, {}, ColumnDefaults{}, context, primary_expr, "d", - nullptr, 101, MergeTreeData::MergingParams::Ordinary, {}); + nullptr, 101, params, {}); /// пишем в неё {