mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-30 11:32:03 +00:00
Fix style check
This commit is contained in:
parent
33788250b1
commit
98b27fd45f
@ -189,7 +189,7 @@ void LocalObjectStorage::listObjects(const std::string & path, RelativePathsWith
|
|||||||
|
|
||||||
bool LocalObjectStorage::existsOrHasAnyChild(const std::string & path) const
|
bool LocalObjectStorage::existsOrHasAnyChild(const std::string & path) const
|
||||||
{
|
{
|
||||||
/// Unlike real object storage, existance of a prefix path can be checked by
|
/// Unlike real object storage, existence of a prefix path can be checked by
|
||||||
/// just checking existence of this prefix directly, so simple exists is enough here.
|
/// just checking existence of this prefix directly, so simple exists is enough here.
|
||||||
return exists(StoredObject(path));
|
return exists(StoredObject(path));
|
||||||
}
|
}
|
||||||
|
@ -48,6 +48,7 @@ namespace ErrorCodes
|
|||||||
{
|
{
|
||||||
extern const int S3_ERROR;
|
extern const int S3_ERROR;
|
||||||
extern const int BAD_ARGUMENTS;
|
extern const int BAD_ARGUMENTS;
|
||||||
|
extern const int LOGICAL_ERROR;
|
||||||
}
|
}
|
||||||
|
|
||||||
namespace
|
namespace
|
||||||
|
Loading…
Reference in New Issue
Block a user