[MDEV-27794] The optimizer thinks subquery is correlated while it is not Created: 2022-02-10 Updated: 2023-04-27 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | Optimizer |
| Affects Version/s: | 10.2, 10.3, 10.4, 10.5, 10.6, 10.7 |
| Fix Version/s: | 10.4, 10.5, 10.6 |
| Type: | Bug | Priority: | Major |
| Reporter: | Sergei Petrunia | Assignee: | Sergei Petrunia |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
This issue was exposed by fix for Take this testcase from subselect4.result:
Here, select with id=2 should have SUBQUERY, not DEPENDENT SUBQUERY. The details of why/how this happens are described here: |