Skip to content

Commit

Permalink
Fix usage of indexes in SQL SELECT when value is a RID
Browse files Browse the repository at this point in the history
Resolves: #8765
  • Loading branch information
luigidellaquila committed Feb 14, 2019
1 parent d341665 commit c2aa50f
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public class OExpression extends SimpleNode {
protected Boolean singleQuotes;
protected Boolean doubleQuotes;

protected boolean isNull = false;
protected boolean isNull = false;
protected ORid rid;
protected OMathExpression mathExpression;
protected OArrayConcatExpression arrayConcatExpression;
Expand Down Expand Up @@ -163,6 +163,9 @@ public boolean isEarlyCalculated(OCommandContext ctx) {
if (booleanValue != null) {
return true;
}
if (rid != null) {
return true;
}
if (value instanceof Number) {
return true;
}
Expand Down

0 comments on commit c2aa50f

Please sign in to comment.