Bug #47838 | TABLE partitioned by LIST COLUMN_LIST not processing <=, >= properly | ||
---|---|---|---|
Submitted: | 5 Oct 2009 17:42 | Modified: | 12 Nov 2009 12:05 |
Reporter: | Patrick Crews | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Partitions | Severity: | S3 (Non-critical) |
Version: | 5.5 WL#3352 | OS: | Any |
Assigned to: | Mikael Ronström | CPU Architecture: | Any |
Tags: | LIST COLUMN_LIST, missing data, partitioning |
[5 Oct 2009 17:42]
Patrick Crews
[5 Oct 2009 17:59]
Patrick Crews
NOTE / UPDATE: It appears that the server is not processing ranges defined as >= <value> or <= <value> properly. If we change <= 1 into >-1 AND <2, the query will process properly.
[6 Oct 2009 14:24]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/85923 2886 Mikael Ronstrom 2009-10-06 BUG#47838, NULL values in ranges was dropped due to missing else part in store_tuple_to_record, added more tests modified: mysql-test/r/partition_column.result
[6 Oct 2009 14:25]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/85924 2885 Mikael Ronstrom 2009-10-06 BUG#47838, NULL values in ranges was dropped due to missing else part in store_tuple_to_record modified: mysql-test/r/partition_column.result mysql-test/t/partition_column.test sql/sql_partition.cc
[6 Oct 2009 14:25]
Mikael Ronström
Missing else part in assign set_null and set_notnull made all ranges use set_notnull, problem was also causing issues for range partitioned tables using column list partitioning.
[5 Nov 2009 6:51]
Bugs System
Pushed into 6.0.14-alpha (revid:mikael@mysql.com-20091104090210-om5lq1v39ppduu0e) (version source revid:mikael@mysql.com-20091030163450-387z4yevx0lrj3fb) (merge vers: 6.0.14-alpha) (pib:13)
[5 Nov 2009 17:38]
Jon Stephens
Discussed with Mikael; he confirmed that this fix was pushed together with main push for WL#3352; closed without further action.
[12 Nov 2009 8:17]
Bugs System
Pushed into 5.5.0-beta (revid:alik@sun.com-20091110093229-0bh5hix780cyeicl) (version source revid:mikael@mysql.com-20091028172236-0v5j962mh2opxpkj) (merge vers: 5.5.0-beta) (pib:13)
[12 Nov 2009 12:05]
Jon Stephens
Re-closed; see previous comments.