Bug #55467 | First partition is not pruned | ||
---|---|---|---|
Submitted: | 22 Jul 2010 3:20 | Modified: | 9 Aug 2010 6:14 |
Reporter: | Mikiya Okuno | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server: Partitions | Severity: | S2 (Serious) |
Version: | OS: | Any | |
Assigned to: | CPU Architecture: | Any |
[22 Jul 2010 3:20]
Mikiya Okuno
[9 Aug 2010 6:14]
Mattias Jonsson
This is not a bug, it is the result after fixing bug#20577, i.e. TO_DAYS() return NULL for non-existing dates which is places in the first partition. So the first partition will always be included for range queries when the partitioning function includes TO_DAYS().