Skip to content

Commit c634410

Browse files
committed
Handle missing slash in metadata_path
1 parent 07e3405 commit c634410

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Storages/MergeTree/MergeTreeData.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8134,7 +8134,7 @@ bool MergeTreeData::canUseAdaptiveGranularity() const
81348134

81358135
String MergeTreeData::getFullPathOnDisk(const DiskPtr & disk) const
81368136
{
8137-
return disk->getPath() + relative_data_path;
8137+
return fs::path(disk->getPath()) / relative_data_path;
81388138
}
81398139

81408140

0 commit comments

Comments
 (0)