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(); }
|
UInt64 getSize() const override { return reservation->getSize(); }
|
||||||
|
|
||||||
DiskPtr getDisk(size_t i) const override {
|
DiskPtr getDisk(size_t i) const override
|
||||||
|
{
|
||||||
if (i != 0)
|
if (i != 0)
|
||||||
throw Exception("Can't use i != 0 with single disk reservation", ErrorCodes::INCORRECT_DISK_INDEX);
|
throw Exception("Can't use i != 0 with single disk reservation", ErrorCodes::INCORRECT_DISK_INDEX);
|
||||||
return disk;
|
return disk;
|
||||||
|
@ -85,7 +85,8 @@ public:
|
|||||||
return delegate->iterateDirectory(wrapped_path);
|
return delegate->iterateDirectory(wrapped_path);
|
||||||
}
|
}
|
||||||
|
|
||||||
void createFile(const String & path) override {
|
void createFile(const String & path) override
|
||||||
|
{
|
||||||
auto wrapped_path = wrappedPath(path);
|
auto wrapped_path = wrappedPath(path);
|
||||||
delegate->createFile(wrapped_path);
|
delegate->createFile(wrapped_path);
|
||||||
}
|
}
|
||||||
|
@ -10,6 +10,11 @@
|
|||||||
namespace DB
|
namespace DB
|
||||||
{
|
{
|
||||||
|
|
||||||
|
namespace ErrorCodes
|
||||||
|
{
|
||||||
|
extern const int ARGUMENT_OUT_OF_BOUND;
|
||||||
|
}
|
||||||
|
|
||||||
using namespace FileEncryption;
|
using namespace FileEncryption;
|
||||||
|
|
||||||
class ReadEncryptedBuffer : public ReadBufferFromFileBase
|
class ReadEncryptedBuffer : public ReadBufferFromFileBase
|
||||||
|
Loading…
Reference in New Issue
Block a user