[MDEV-27520] Wrong result upon query with GROUP BY and correlated subquery Created: 2022-01-16 Updated: 2023-04-27 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | Optimizer |
| Affects Version/s: | 10.2, 10.3, 10.4 |
| Fix Version/s: | 10.4 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Elena Stepanova | Assignee: | Sergei Petrunia |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | not-10.5, not-10.6, not-10.7, not-10.8 | ||
| Description |
|
The first query, with COUNT, returns all expected rows:
The second query, same but without COUNT, doesn't return rows a and x:
Reproducible on 10.2-10.4, with at least MyISAM and InnoDB.
|