[MDEV-29947] Spider doesn't return all rows when doing a join of two tables with no usable keys Created: 2022-11-04 Updated: 2022-11-26 Resolved: 2022-11-14 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - Spider |
| Affects Version/s: | 10.10, 10.11 |
| Fix Version/s: | 10.10.2, 10.11.1 |
| Type: | Bug | Priority: | Blocker |
| Reporter: | Michael Widenius | Assignee: | Nayuta Yanagisawa (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
When spider is trying to join two tables when there is no usable index or the optimizer chooses The test query that fails is very simple:
How to repeat: Apply this patch:
run
The first query, which uses index, returns rows 0..29 (In random order, but that is ok) MariaDB 10.9 does not have this bug ! |
| Comments |
| Comment by Nayuta Yanagisawa (Inactive) [ 2022-11-07 ] | ||||||||||||||||||||||||||||||||||
|
The test case start to fail from d66f6f0cb464d40077dd0a91d55ef3e2179b3e6b. | ||||||||||||||||||||||||||||||||||
| Comment by Nayuta Yanagisawa (Inactive) [ 2022-11-10 ] | ||||||||||||||||||||||||||||||||||
|
The above was a false positive first bad commit. The true first bad commit seems to be 57d233e2a67df35deb8c53c662d79f426615ec95.
| ||||||||||||||||||||||||||||||||||
| Comment by Nayuta Yanagisawa (Inactive) [ 2022-11-11 ] | ||||||||||||||||||||||||||||||||||
|
I will fix the problem by reverting |