mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-17 13:13:36 +00:00
Remove last presence of Poco::Path in src
This commit is contained in:
parent
9b8df78fdd
commit
85cc7a8923
@ -1,9 +1,7 @@
|
||||
#include <Formats/FormatSchemaInfo.h>
|
||||
#include <Poco/Path.h>
|
||||
#include <Interpreters/Context.h>
|
||||
#include <Common/Exception.h>
|
||||
#include <filesystem>
|
||||
#include <common/logger_useful.h>
|
||||
|
||||
|
||||
namespace DB
|
||||
@ -83,7 +81,7 @@ FormatSchemaInfo::FormatSchemaInfo(const String & format_schema, const String &
|
||||
schema_path = path.filename();
|
||||
schema_directory = path.parent_path() / "";
|
||||
}
|
||||
else if (Poco::Path(path.string()).depth() >= 1 && Poco::Path(path.string()).directory(0) == "..")
|
||||
else if (path.string().starts_with(".."))
|
||||
{
|
||||
if (is_server)
|
||||
throw Exception(
|
||||
|
Loading…
Reference in New Issue
Block a user