Update src/Parsers/ASTSystemQuery.cpp

Co-authored-by: Yakov Olkhovskiy <99031427+yakov-olkhovskiy@users.noreply.github.com>
This commit is contained in:
Alexey Milovidov 2024-02-26 03:44:35 +03:00 committed by GitHub
parent 3f8f641dff
commit 4b854399f4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -229,7 +229,7 @@ void ASTSystemQuery::formatImpl(const FormatSettings & settings, FormatState & s
settings.ostr << ' ';
bool first = true;
for (auto & src : src_replicas)
for (const auto & src : src_replicas)
{
if (!first)
settings.ostr << ", ";