lib/veritas/optimizer/relation/operation/limit.rb in veritas-optimizer-0.0.3 vs lib/veritas/optimizer/relation/operation/limit.rb in veritas-optimizer-0.0.4
- old
+ new
@@ -110,18 +110,10 @@
end # class LimitOperand
# Optimize when operand is optimizable
class UnoptimizedOperand < self
-
- # Test if the operand is unoptimized
- #
- # @return [Boolean]
- #
- # @api private
- def optimizable?
- !operand.equal?(operation.operand)
- end
+ include Function::Unary::UnoptimizedOperand
# Return a Limit with an optimized operand
#
# @return [Limit]
#