Skip to content

Commit

Permalink
plan: remove unneeded lines of code (pingcap#5749)
Browse files Browse the repository at this point in the history
  • Loading branch information
qazbnm456 authored and ngaut committed Jan 30, 2018
1 parent fdd0e6d commit d978c83
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions plan/column_pruning.go
Original file line number Diff line number Diff line change
Expand Up @@ -164,10 +164,6 @@ func (ds *DataSource) PruneColumns(parentUsedCols []*expression.Column) {
}
}

// PruneColumns implements LogicalPlan interface.
func (p *LogicalTableDual) PruneColumns(_ []*expression.Column) {
}

// PruneColumns implements LogicalPlan interface.
func (p *LogicalExists) PruneColumns(parentUsedCols []*expression.Column) {
p.children[0].PruneColumns(nil)
Expand Down

0 comments on commit d978c83

Please sign in to comment.