Files
tidb/statistics
Yiding Cui 9e1022a90c statistics: make getIntColumnRowCount correct (#3146)
If we use a > 1 to build range in physical plan builder phase, will get (1, +∞) first, then we will get a []types.IntColumnRange like [{2, +∞}].
However, this range will call function greaterRowCount(). So the result actually is calculated as (2, +∞).
This pr is to fix this.
2017-04-26 14:47:53 +08:00
..