Bug #13443 | Partitions: no error for unlisted values | ||
---|---|---|---|
Submitted: | 23 Sep 2005 17:42 | Modified: | 4 Nov 2005 11:51 |
Reporter: | Peter Gulutzan | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Partitions | Severity: | S3 (Non-critical) |
Version: | 5.1.2-alpha-debug | OS: | Linux (SUSE 9.2) |
Assigned to: | Jon Stephens | CPU Architecture: | Any |
[23 Sep 2005 17:42]
Peter Gulutzan
[18 Oct 2005 14:24]
Mikael Ronström
The problem here is that a function with NULL as input will actually always return 0 and this is treated as a correct value. The option would be to not allow NULLable fields in the partition function but it was decided to support NULL and then if any field is NULL the value of the partition function is 0.
[31 Oct 2005 21:59]
Mikael Ronström
This is not a bug
[4 Nov 2005 11:51]
Jon Stephens
Thank you for your bug report. This issue has been addressed in the documentation. The updated documentation will appear on our website shortly, and will be included in the next release of the relevant product(s). Additional info: Updated docs to make it clear that this is expected behaviour (and why).