mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-21 17:20:50 +00:00
Minor amendments
This commit is contained in:
parent
edd11abad1
commit
f27d462986
@ -26,7 +26,7 @@ public:
|
||||
: name(name_), disk_path(path_), keep_free_space_bytes(keep_free_space_bytes_)
|
||||
{
|
||||
if (disk_path.back() != '/')
|
||||
throw Exception("Disk disk_path must ends with '/', but '" + disk_path + "' doesn't.", ErrorCodes::LOGICAL_ERROR);
|
||||
throw Exception("Disk path must ends with '/', but '" + disk_path + "' doesn't.", ErrorCodes::LOGICAL_ERROR);
|
||||
}
|
||||
|
||||
const String & getName() const override { return name; }
|
||||
@ -97,10 +97,6 @@ private:
|
||||
Poco::DirectoryIterator iter;
|
||||
};
|
||||
|
||||
/**
|
||||
* Information about reserved size on concrete local disk.
|
||||
* Doesn't reserve bytes in constructor.
|
||||
*/
|
||||
class DiskLocalReservation : public IReservation
|
||||
{
|
||||
public:
|
||||
|
Loading…
Reference in New Issue
Block a user