Merge pull request #41839 from ClickHouse/kssenii-patch-5

Remove unused variable in registerStorageMergeTree.cpp
This commit is contained in:
Kseniia Sumarokova 2022-09-28 11:58:01 +02:00 committed by GitHub
commit b0a362e403
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -683,8 +683,6 @@ static StoragePtr create(const StorageFactory::Arguments & args)
if (replicated)
{
auto storage_policy = args.getContext()->getStoragePolicy(storage_settings->storage_policy);
return std::make_shared<StorageReplicatedMergeTree>(
zookeeper_path,
replica_name,