mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 15:42:02 +00:00
dbms: tiny modification (more compatible) [#METR-12784].
This commit is contained in:
parent
740a5a184b
commit
20de7e1003
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user