mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 16:12:01 +00:00
Update PartLog.cpp
This commit is contained in:
parent
bd4df60df6
commit
c0ac6484c3
@ -231,10 +231,10 @@ bool PartLog::addNewParts(
|
||||
elem.table_name = table_id.table_name;
|
||||
elem.table_uuid = table_id.uuid;
|
||||
elem.partition_id = part->info.partition_id;
|
||||
FormatSettings format_settings;
|
||||
WriteBufferFromOwnString out;
|
||||
part->partition.serializeText(part->storage, out, format_settings);
|
||||
elem.partition = out.str();
|
||||
{
|
||||
WriteBufferFromString out(elem.partition);
|
||||
part->partition.serializeText(part->storage, out, {});
|
||||
}
|
||||
elem.part_name = part->name;
|
||||
elem.disk_name = part->getDataPartStorage().getDiskName();
|
||||
elem.path_on_disk = part->getDataPartStorage().getFullPath();
|
||||
|
Loading…
Reference in New Issue
Block a user