mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 23:52:03 +00:00
Revert "removed "yandex" prefix due to conflicts with already exists tables [#METR-10969]"
This reverts commit 70832ec04ae521b12a23811293f5e8b3cd725325.
This commit is contained in:
parent
96cae9978f
commit
3eafab7253
@ -55,7 +55,7 @@ public:
|
||||
{
|
||||
bool correct = true;
|
||||
if (!files_info.empty())
|
||||
for (auto & node : files_info)
|
||||
for (auto & node : files_info.get_child("yandex"))
|
||||
{
|
||||
std::string filename = unescapeForFileName(node.first);
|
||||
size_t expected_size = std::stoull(node.second.get<std::string>("size"));
|
||||
@ -81,7 +81,7 @@ public:
|
||||
private:
|
||||
void updateTree(const Poco::File & file)
|
||||
{
|
||||
files_info.put(escapeForFileName(Poco::Path(file.path()).getFileName()) + ".size", std::to_string(file.getSize()));
|
||||
files_info.put(std::string("yandex.") + escapeForFileName(Poco::Path(file.path()).getFileName()) + ".size", std::to_string(file.getSize()));
|
||||
}
|
||||
|
||||
void saveTree()
|
||||
|
Loading…
Reference in New Issue
Block a user