[MDEV-28841] Wrong result upon LEFT JOIN and NULL comparison with not_null_range_scan Created: 2022-06-14 Updated: 2022-06-27 Resolved: 2022-06-16 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Optimizer |
| Affects Version/s: | 10.5, 10.6, 10.7, 10.8, 10.9 |
| Fix Version/s: | 10.5.17, 10.6.9, 10.7.5, 10.8.4, 10.9.2 |
| Type: | Bug | Priority: | Major |
| Reporter: | Elena Stepanova | Assignee: | Michael Widenius |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
Possibly related to
Without not_null_range_scan the query returns a result set (the expected result). With not_null_range_scan it returns an empty set (wrong).
Same with the plans:
|
| Comments |
| Comment by Michael Widenius [ 2022-06-16 ] |
|
Bug fixed |