Skip to content

Commit

Permalink
*
Browse files Browse the repository at this point in the history
Signed-off-by: Weizhen Wang <wangweizhen@pingcap.com>
  • Loading branch information
hawkingrei committed Jun 27, 2024
1 parent fc8eaf4 commit c765f5d
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions pkg/expression/constant_propagation.go
Original file line number Diff line number Diff line change
Expand Up @@ -349,9 +349,6 @@ func (s *propConstSolver) solve(conditions []Expression) []Expression {
)
return conditions
}
if len(s.conditions) == 3 {
fmt.Println("here")
}
s.propagateConstantEQ()
s.propagateColumnEQ()
s.conditions = propagateConstantDNF(s.ctx, s.conditions)
Expand Down Expand Up @@ -712,8 +709,5 @@ func newPropConstSolver() PropagateConstantSolver {
// PropagateConstant propagate constant values of deterministic predicates in a condition.
func (s *propConstSolver) PropagateConstant(ctx exprctx.ExprContext, conditions []Expression) []Expression {
s.ctx = ctx
if len(conditions) == 3 {
fmt.Println("here")
}
return s.solve(conditions)
}

0 comments on commit c765f5d

Please sign in to comment.