mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 15:42:02 +00:00
Minor code cleanup
This commit is contained in:
parent
2ce6136de5
commit
c514ec3278
@ -63,8 +63,6 @@ public:
|
||||
|
||||
std::unique_ptr<WriteBuffer> writeFile(const String & path) override;
|
||||
|
||||
bool supportsAtomicMove() const override { return true; }
|
||||
|
||||
private:
|
||||
bool tryReserve(UInt64 bytes);
|
||||
|
||||
|
@ -97,9 +97,6 @@ public:
|
||||
|
||||
/// Open the file for write and return WriteBuffer object.
|
||||
virtual std::unique_ptr<WriteBuffer> writeFile(const String & path) = 0;
|
||||
|
||||
/// Return `true` if underlying storage supports atomic move of files (rename).
|
||||
virtual bool supportsAtomicMove() const { return false; }
|
||||
};
|
||||
|
||||
using DiskPtr = std::shared_ptr<IDisk>;
|
||||
|
Loading…
Reference in New Issue
Block a user