[MDEV-25231] A subquery stoped returning correct data after mariadb upgrade from 10.4.10 onwards Created: 2021-03-23 Updated: 2021-03-28 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | Optimizer, Server |
| Affects Version/s: | 10.4.11, 10.4.12, 10.4.13, 10.4.14, 10.4.15, 10.4.16, 10.4.17, 10.4.18 |
| Fix Version/s: | 10.4 |
| Type: | Bug | Priority: | Major |
| Reporter: | Anton Avramov | Assignee: | Sergei Petrunia |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | optimizer, regression, server | ||
| Environment: |
Ubuntu focal, Debian buster |
||
| Attachments: |
|
| Description |
|
We have a complex query that used to work fine and return correct data, but after upgrade from 10.4.10 onwards it NULL for column 2 and 3. The query is:
Using mariadb 10.4.10 binary the query would return something like: I cannot provide recreation steps since the data is private, but I'm attaching the result from running ANALYZE on the query. |
| Comments |
| Comment by Anton Avramov [ 2021-03-23 ] |
|
Another interesing obervation. |