Permalink
Browse files

[performance] Optimizer did not descend into general comparison insid…

…e if statement.
  • Loading branch information...
1 parent 1ae8b49 commit fda2f9ac767d04e4b65b9197cddf0620c855c8dc @wolfgangmm wolfgangmm committed Mar 6, 2014
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/org/exist/xquery/Optimizer.java
@@ -283,6 +283,8 @@ public void visitGeneralComparison(GeneralComparison comparison) {
// pathExpr.remove(last);
// }
// }
+ comparison.getLeft().accept(this);
+ comparison.getRight().accept(this);
}
public void visitPredicate(Predicate predicate) {

0 comments on commit fda2f9a

Please sign in to comment.