mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 00:22:29 +00:00
dbms: Server: Small improvement [#METR-17985]
This commit is contained in:
parent
c326cf8624
commit
1bea69c0e2
@ -155,15 +155,9 @@ public:
|
|||||||
if (container_type == details::ContainerType::SMALL)
|
if (container_type == details::ContainerType::SMALL)
|
||||||
small.read(in);
|
small.read(in);
|
||||||
else if (container_type == details::ContainerType::MEDIUM)
|
else if (container_type == details::ContainerType::MEDIUM)
|
||||||
{
|
|
||||||
toMedium();
|
|
||||||
getContainer<Medium>().read(in);
|
getContainer<Medium>().read(in);
|
||||||
}
|
|
||||||
else if (container_type == details::ContainerType::LARGE)
|
else if (container_type == details::ContainerType::LARGE)
|
||||||
{
|
|
||||||
toLarge();
|
|
||||||
getContainer<Large>().read(in);
|
getContainer<Large>().read(in);
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void readAndMerge(DB::ReadBuffer & in)
|
void readAndMerge(DB::ReadBuffer & in)
|
||||||
|
Loading…
Reference in New Issue
Block a user