Files
tidb/executor
Han Fei e3a0dc68ce *: use column id to get stats instead of column offset (#3019)
Now we assume that the order of columns in stats matches the column offsets. It will return wrong stats sometimes.
If we analyze when a table is (c1, c2) and then drop c1, the c2's offset will become 0. But in stats the position of 0 is c1. I have added this case to test.
2017-04-10 16:03:20 +08:00
..
2017-03-29 08:55:49 +08:00
2017-03-22 21:42:16 +08:00
2017-01-30 09:45:50 +08:00
2017-02-14 10:23:45 +08:00
2017-01-30 09:45:50 +08:00