Fixing build.

This commit is contained in:
Nikolai Kochetov 2024-12-09 10:55:01 +01:00
parent a4042274f1
commit 702a610d2b
2 changed files with 4 additions and 4 deletions

View File

@ -68,12 +68,12 @@ void ASTStorageOrderByElement::updateTreeHashImpl(SipHash & hash_state, bool ign
IAST::updateTreeHashImpl(hash_state, ignore_aliases); IAST::updateTreeHashImpl(hash_state, ignore_aliases);
} }
void ASTStorageOrderByElement::formatImpl(const FormatSettings & settings, FormatState & state, FormatStateStacked frame) const void ASTStorageOrderByElement::formatImpl(WriteBuffer & ostr, const FormatSettings & settings, FormatState & state, FormatStateStacked frame) const
{ {
children.front()->formatImpl(settings, state, frame); children.front()->formatImpl(ostr, settings, state, frame);
if (direction == -1) if (direction == -1)
settings.ostr << (settings.hilite ? hilite_keyword : "") << " DESC" << (settings.hilite ? hilite_none : ""); ostr << (settings.hilite ? hilite_keyword : "") << " DESC" << (settings.hilite ? hilite_none : "");
} }
} }

View File

@ -101,7 +101,7 @@ public:
void updateTreeHashImpl(SipHash & hash_state, bool ignore_aliases) const override; void updateTreeHashImpl(SipHash & hash_state, bool ignore_aliases) const override;
protected: protected:
void formatImpl(const FormatSettings & settings, FormatState & state, FormatStateStacked frame) const override; void formatImpl(WriteBuffer & ostr, const FormatSettings & settings, FormatState & state, FormatStateStacked frame) const override;
}; };
} }