mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-29 21:20:49 +00:00
style fixes
This commit is contained in:
parent
f71e97511b
commit
11e40ad000
@ -36,7 +36,8 @@ public:
|
||||
|
||||
UInt64 getSize() const override { return reservation->getSize(); }
|
||||
|
||||
DiskPtr getDisk(size_t i) const override {
|
||||
DiskPtr getDisk(size_t i) const override
|
||||
{
|
||||
if (i != 0)
|
||||
throw Exception("Can't use i != 0 with single disk reservation", ErrorCodes::INCORRECT_DISK_INDEX);
|
||||
return disk;
|
||||
|
@ -85,7 +85,8 @@ public:
|
||||
return delegate->iterateDirectory(wrapped_path);
|
||||
}
|
||||
|
||||
void createFile(const String & path) override {
|
||||
void createFile(const String & path) override
|
||||
{
|
||||
auto wrapped_path = wrappedPath(path);
|
||||
delegate->createFile(wrapped_path);
|
||||
}
|
||||
|
@ -24,8 +24,8 @@ struct DiskType
|
||||
return "memory";
|
||||
case Type::S3:
|
||||
return "s3";
|
||||
case Type::Encrypted:
|
||||
return "encrypted";
|
||||
case Type::Encrypted:
|
||||
return "encrypted";
|
||||
}
|
||||
__builtin_unreachable();
|
||||
}
|
||||
|
@ -10,6 +10,11 @@
|
||||
namespace DB
|
||||
{
|
||||
|
||||
namespace ErrorCodes
|
||||
{
|
||||
extern const int ARGUMENT_OUT_OF_BOUND;
|
||||
}
|
||||
|
||||
using namespace FileEncryption;
|
||||
|
||||
class ReadEncryptedBuffer : public ReadBufferFromFileBase
|
||||
|
Loading…
Reference in New Issue
Block a user