mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-15 10:52:30 +00:00
Fixing build.
This commit is contained in:
parent
35095191eb
commit
49e613a666
@ -5,7 +5,7 @@
|
||||
#include <IO/WriteBufferFromFileBase.h>
|
||||
#include <IO/ReadBufferFromFileBase.h>
|
||||
#include <IO/ReadHelpers.h>
|
||||
#include <base/logger_useful.h>
|
||||
#include <Common/logger_useful.h>
|
||||
#include <Disks/IStoragePolicy.h>
|
||||
#include <Backups/BackupEntryFromSmallFile.h>
|
||||
#include <Backups/BackupEntryFromImmutableFile.h>
|
||||
|
@ -8312,7 +8312,8 @@ private:
|
||||
}
|
||||
|
||||
auto single_disk_volume = std::make_shared<SingleDiskVolume>(disk->getName(), disk, 0);
|
||||
auto part = storage->createPart(part_name, part_info, single_disk_volume, relative_temp_part_dir);
|
||||
auto data_part_storage = std::make_shared<DataPartStorageOnDisk>(single_disk_volume, relative_data_path, relative_temp_part_dir);
|
||||
auto part = storage->createPart(part_name, part_info, data_part_storage);
|
||||
/// TODO Transactions: Decide what to do with version metadata (if any). Let's just remove it for now.
|
||||
disk->removeFileIfExists(fs::path(temp_part_dir) / IMergeTreeDataPart::TXN_VERSION_METADATA_FILE_NAME);
|
||||
part->version.setCreationTID(Tx::PrehistoricTID, nullptr);
|
||||
|
Loading…
Reference in New Issue
Block a user