Update StorageSystemDetachedParts.cpp

This commit is contained in:
Alexey Milovidov 2023-09-12 04:53:51 +03:00 committed by GitHub
parent 8cd6153c83
commit 44a9dbd2b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -233,7 +233,7 @@ private:
}
if (columns_mask[src_index++])
{
Poco::Timestamp modification_time;
Poco::Timestamp modification_time{};
try
{
modification_time = p.disk->getLastModified(fs::path(current_info.data->getRelativeDataPath()) / MergeTreeData::DETACHED_DIR_NAME / p.dir_name);