mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 17:12:03 +00:00
Fixed error #4228
This commit is contained in:
parent
1f41aeaf7a
commit
c0dd4debc5
@ -246,6 +246,10 @@ bool ParserBetweenExpression::parseImpl(Pos & pos, ASTPtr & node, Expected & exp
|
||||
|
||||
if (!s_between.ignore(pos, expected))
|
||||
{
|
||||
if (negative)
|
||||
return false; /// Cannot parse NOT BETWEEN.
|
||||
|
||||
/// No operator was parsed, just return element.
|
||||
node = subject;
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user