[MDEV-30408] Spider test using semijoin=off returns wrong result (zero rows) Created: 2023-01-13 Updated: 2023-12-05 |
|
| Status: | Confirmed |
| Project: | MariaDB Server |
| Component/s: | Optimizer, Storage Engine - Spider |
| Affects Version/s: | 10.4, 10.5, 10.6, 10.11, 11.0, 11.1, 11.2, 11.3, 11.4 |
| Fix Version/s: | 10.4, 10.5, 10.6, 10.11, 11.0, 11.1, 11.2, 11.3 |
| Type: | Bug | Priority: | Major |
| Reporter: | Michael Widenius | Assignee: | Yuchen Pei |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | spider-gbh | ||
| Description |
|
I only tested this on 10.11. The bug could also be in earlier versions. Applying this diff:
Causes the following result change:
select using pushdown |
| Comments |
| Comment by Yuchen Pei [ 2023-12-05 ] |
|
Somehow with the semijoin=off optimizer switch, it uses the group by Either we make gbh use the correct limit 1 in this case, or ban gbh |