fix build

This commit is contained in:
Guillaume Tassery 2019-11-12 04:34:34 +01:00
parent c68a6475ee
commit 9da8cbbb77
2 changed files with 2 additions and 2 deletions

View File

@ -1208,7 +1208,7 @@ void StorageMergeTree::movePartitionToTable(const StoragePtr & dest_table, const
MergeTreePartInfo dst_part_info(partition_id, temp_index, temp_index, src_part->info.level);
std::shared_lock<std::shared_mutex> part_lock(src_part->columns_lock);
dst_parts.emplace_back(dest_table_storage->cloneAndLoadDataPart(src_part, TMP_PREFIX, dst_part_info));
dst_parts.emplace_back(dest_table_storage->cloneAndLoadDataPartOnSameDisk(src_part, TMP_PREFIX, dst_part_info));
}
/// ATTACH empty part set

View File

@ -31,7 +31,7 @@ node2 = cluster.add_instance('node2', main_configs=['configs/remote_servers.xml'
@pytest.fixture(scope="module")
def setup_cluster():
def start_cluster():
try:
cluster.start()
initialize_database([node1, node2], 1)