Bug #38204 | NDBAPI : MRR IndexScan fails with certain bound lengths | ||
---|---|---|---|
Submitted: | 17 Jul 2008 16:28 | Modified: | 15 Oct 2008 15:53 |
Reporter: | Frazer Clement | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Cluster: NDB API | Severity: | S3 (Non-critical) |
Version: | 5.1 + | OS: | Any |
Assigned to: | Frazer Clement | CPU Architecture: | Any |
[17 Jul 2008 16:28]
Frazer Clement
[18 Jul 2008 12:13]
Jonas Oreland
can you make a mtr testcase aswell?
[21 Jul 2008 13:44]
Frazer Clement
MTR testcase seems tough to create as it requires : - Scan range(s) using 4N+1 words of KeyInfo. - Scan range using 2 words of KeyInfo (IS NULL or IS NOT NULL only) - A further scan range of any size. MySQLD seems to sort the ranges by selectivity (most selective first), and IS NULL or IS NOT NULL seem to have low selectivity, so it's hard to get a range 'after' the IS NULL or IS NOT NULL bound. Don't want to spend too much time on this.
[21 Jul 2008 17:03]
Jonas Oreland
ok, and I saw that you added mrr to testOIBasic, so, ok to push from 6.2 and upwards
[23 Jul 2008 10:55]
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/50292
[23 Jul 2008 11:16]
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/50294
[23 Jul 2008 11: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/50297
[23 Jul 2008 11:37]
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/50301
[11 Aug 2008 22:56]
Jon Stephens
Need complete version numbers in which fix will appear in order to document. Thanks.
[15 Oct 2008 11:50]
Frazer Clement
Pushed to 6.2.16, 6.3.17, 6.4.0
[15 Oct 2008 15:53]
Jon Stephens
Documented bugfix in the ndb-6.2.16 and ndb-6.3.17 changelogs as follows: Certain multi-range scans involving IS NULL and IS NOT NULL comparisons failed with an error in the NDB local query handler.