Update ParserKQLSort.cpp

Style
This commit is contained in:
Ilya Yatsishin 2023-03-30 11:01:51 +02:00 committed by GitHub
parent a307e0d95d
commit baabc49f33
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,7 +27,7 @@ bool ParserKQLSort :: parseImpl(Pos & pos, ASTPtr & node, Expected & expected)
while (!new_pos->isEnd() && new_pos->type != TokenType::PipeMark && new_pos->type != TokenType::Semicolon)
{
String tmp(new_pos->begin, new_pos->end);
if (tmp == "desc" or tmp == "asc")
if (tmp == "desc" || tmp == "asc")
has_dir = true;
if (new_pos->type == TokenType::Comma)