dbms: Server: Feature development. [#METR-17276]

This commit is contained in:
Alexey Arno 2015-07-20 20:07:51 +03:00
parent 1c9bcb6892
commit f95d090a45

View File

@ -218,7 +218,7 @@ private:
void toLarge()
{
if (container_type != details::ContainerType::MEDIUM)
if ((container_type != details::ContainerType::SMALL) && (container_type != details::ContainerType::MEDIUM))
throw Poco::Exception("Internal error", ErrorCodes::LOGICAL_ERROR);
container_type = details::ContainerType::LARGE;