Skip to content

Commit

Permalink
planner: fix wrong full range for table scan in tiflash (pingcap#12756)
Browse files Browse the repository at this point in the history
  • Loading branch information
lzmhhh123 committed Jan 17, 2020
1 parent cfdff94 commit 5216314
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 @@ -823,7 +823,7 @@ func (ds *DataSource) convertToTableScan(prop *property.PhysicalProperty, candid
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 5216314

Please sign in to comment.