mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 01:51:59 +00:00
Remove redundant code
This commit is contained in:
parent
4d48d6e713
commit
c38f726537
@ -49,13 +49,6 @@ StoredObject StoredObject::create(
|
||||
}
|
||||
};
|
||||
|
||||
/// if (metadata_storage->exists(object_path))
|
||||
/// {
|
||||
/// object_size = metadata_storage->getFileSize(object_path);
|
||||
/// path_key_for_cache_creator =
|
||||
/// [path_key = path_key_for_cache_creator(object_path)](const String &) { return path_key; };
|
||||
/// }
|
||||
|
||||
return StoredObject(object_path, object_size, std::move(path_key_for_cache_creator));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user