Skip to content

Commit

Permalink
planner: fix wrong full range for table scan in tiflash (#12756)
Browse files Browse the repository at this point in the history
  • Loading branch information
lzmhhh123 authored and sre-bot committed Oct 16, 2019
1 parent 4cca67c commit 2f7a66f
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 @@ -1025,7 +1025,7 @@ func (ds *DataSource) getOriginalPhysicalTableScan(prop *property.PhysicalProper
ts.StoreType = kv.TiFlash
ts.filterCondition = append(ts.filterCondition, ts.AccessCondition...)
ts.AccessCondition = nil
ts.Ranges = ranger.FullNotNullRange()
ts.Ranges = ranger.FullIntRange(false)
} else {
ts.StoreType = kv.TiKV
}
Expand Down

0 comments on commit 2f7a66f

Please sign in to comment.