This commit is contained in:
Alexey Milovidov 2019-02-10 23:21:22 +03:00
parent 1f41aeaf7a
commit c0dd4debc5

View File

@ -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