dbms: Server: Small improvement [#METR-17985]

This commit is contained in:
Alexey Arno 2015-10-26 16:26:24 +03:00
parent c326cf8624
commit 1bea69c0e2

View File

@ -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)