[MDEV-19588] Wrong results from query, using left join Created: 2019-05-24 Updated: 2019-05-29 Resolved: 2019-05-29 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Optimizer |
| Affects Version/s: | 5.5, 10.1, 10.2, 10.3, 10.4 |
| Fix Version/s: | 5.5.65 |
| Type: | Bug | Priority: | Major |
| Reporter: | Alice Sherepa | Assignee: | Igor Babaev |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
The expected result is 17 rows. It is correct in versions 5.5-10.3 (and in Mysql 8.0.15), and also while using Innodb engine in 10.4
|
| Comments |
| Comment by Igor Babaev [ 2019-05-24 ] | |||||||||||
|
The problem is already reproduced with the following population of the tables:
(As t1 is empty t3.i1 cannot be NOT NULL in the result set ) | |||||||||||
| Comment by Igor Babaev [ 2019-05-25 ] | |||||||||||
|
The bug is reproducible on 5.5,10.1,10.2,10.3 with the setting
| |||||||||||
| Comment by Igor Babaev [ 2019-05-29 ] | |||||||||||
|
A fix for this bug was pushed into 5.5. It should be merged upstream as it is. |