Skip to content

Commit

Permalink
fix sqllogic-test
Browse files Browse the repository at this point in the history
  • Loading branch information
winoros committed Nov 27, 2018
1 parent 029c6fd commit 92570d6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ require (
github.com/golang/protobuf v1.2.0
github.com/golang/snappy v0.0.0-20180518054509-2e65f85255db // indirect
github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c
github.com/gorilla/context v1.1.1 // indirect
github.com/gorilla/mux v1.6.2
github.com/grpc-ecosystem/go-grpc-middleware v1.0.0
github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0
Expand Down
4 changes: 2 additions & 2 deletions planner/core/exhaust_physical_plans.go
Original file line number Diff line number Diff line change
Expand Up @@ -631,8 +631,8 @@ func (p *LogicalJoin) analyzeLookUpFilters(indexInfo *model.IndexInfo, innerPlan
}
keyMatchedLen := len(idxCols) - 1
for ; keyMatchedLen > 0; keyMatchedLen-- {
if idxOff2keyOff[keyMatchedLen] == -1 {
continue
if idxOff2keyOff[keyMatchedLen] != -1 {
break
}
}
remained := make([]expression.Expression, 0, len(innerPlan.pushedDownConds))
Expand Down

0 comments on commit 92570d6

Please sign in to comment.