Update src/Storages/FileLog/StorageFileLog.cpp

Co-authored-by: Kseniia Sumarokova <54203879+kssenii@users.noreply.github.com>
This commit is contained in:
tavplubix 2022-02-23 21:07:37 +03:00 committed by GitHub
parent 5a26f856d9
commit 43626b3ffd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -97,7 +97,7 @@ void StorageFileLog::loadMetaFiles(bool attach)
const auto & storage = getStorageID();
/// FIXME Why do we need separate directory? Why not to use data directory?
root_meta_path
= std::filesystem::path(getContext()->getPath()) / "filelog_storage_metadata" / DatabaseCatalog::getPathForUUID(storage.uuid);
= std::filesystem::path(getContext()->getPath()) / "stream_engines/filelog/" / DatabaseCatalog::getPathForUUID(storage.uuid);
/// Attach table
if (attach)