Skip to content

Commit

Permalink
*: update golangci-linter
Browse files Browse the repository at this point in the history
Signed-off-by: Weizhen Wang <wangweizhen@pingcap.com>
  • Loading branch information
hawkingrei committed Feb 13, 2023
1 parent 9420488 commit d6a1152
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion planner/core/find_best_task.go
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,6 @@ func (p *baseLogicalPlan) findBestTask(prop *property.PhysicalProperty, planCoun
return invalidTask, 0, nil
}

bestTask = invalidTask
cntPlan = 0
// prop should be read only because its cached hashcode might be not consistent
// when it is changed. So we clone a new one for the temporary changes.
Expand Down

0 comments on commit d6a1152

Please sign in to comment.