dbms: tiny modification (more compatible) [#METR-12784].

This commit is contained in:
Alexey Milovidov 2014-09-26 20:11:30 +04:00
parent 740a5a184b
commit 20de7e1003

View File

@ -843,7 +843,7 @@ MergeTreeData::DataPartsVector MergeTreeData::getDataPartsVector()
{ {
Poco::ScopedLock<Poco::FastMutex> lock(data_parts_mutex); Poco::ScopedLock<Poco::FastMutex> lock(data_parts_mutex);
return {std::begin(data_parts), std::end(data_parts)}; return DataPartsVector(std::begin(data_parts), std::end(data_parts));
} }
MergeTreeData::DataParts MergeTreeData::getAllDataParts() MergeTreeData::DataParts MergeTreeData::getAllDataParts()