Skip to content

Commit

Permalink
remove unnecessary type conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
time-and-fate committed Aug 6, 2020
1 parent a332f8a commit 8359f67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion planner/core/find_best_task.go
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ func (p *baseLogicalPlan) enumeratePhysicalPlans4Task(physicalPlans []PhysicalPl
}

cntPlan += curCntPlan
planCounter.Dec(int64(curCntPlan))
planCounter.Dec(curCntPlan)

if planCounter.Empty() {
bestTask = curTask
Expand Down

0 comments on commit 8359f67

Please sign in to comment.