mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 15:42:02 +00:00
Merge
This commit is contained in:
commit
95d5904b41
@ -133,6 +133,10 @@ bool ParserIdentifier::parseImpl(Pos & pos, Pos end, ASTPtr & node, Expected & e
|
||||
ReadBuffer buf(const_cast<char *>(pos), end - pos, 0);
|
||||
String s;
|
||||
readBackQuotedString(s, buf);
|
||||
|
||||
if (s.empty()) /// Не разрешены идентификаторы "пустая строка".
|
||||
return false;
|
||||
|
||||
pos += buf.count();
|
||||
node = new ASTIdentifier(StringRange(begin, pos), s);
|
||||
return true;
|
||||
|
@ -843,7 +843,7 @@ MergeTreeData::DataPartsVector MergeTreeData::getDataPartsVector()
|
||||
{
|
||||
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()
|
||||
|
Loading…
Reference in New Issue
Block a user