Revert "removed "yandex" prefix due to conflicts with already exists tables [#METR-10969]"

This reverts commit 70832ec04ae521b12a23811293f5e8b3cd725325.
This commit is contained in:
Pavel Kartavyy 2014-09-02 20:26:30 +04:00
parent 96cae9978f
commit 3eafab7253

View File

@ -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()