[#5955] MySQL NOT DISTINCT predicate

This commit is contained in:
lukaseder 2017-03-26 23:15:41 +02:00
parent 6fdcaf2dcc
commit 1efae757d4

View File

@ -4514,6 +4514,10 @@ class ParserImpl implements Parser {
return Comparator.GREATER_OR_EQUAL;
else if (parseIf(ctx, ">"))
return Comparator.GREATER;
// MySQL DISTINCT operator
else if (parseIf(ctx, "<=>"))
return Comparator.IS_NOT_DISTINCT_FROM;
else if (parseIf(ctx, "<="))
return Comparator.LESS_OR_EQUAL;
else if (parseIf(ctx, "<"))