[MDEV-14211] Wrong result set from a query with DISTINCT and HAVING over a SF call Created: 2017-10-30 Updated: 2023-11-28 |
|
| Status: | Confirmed |
| Project: | MariaDB Server |
| Component/s: | Optimizer |
| Affects Version/s: | 5.5, 10.0, 10.1, 10.2, 10.3, 10.4, 10.6.11, 10.6, 10.7, 10.8, 10.9, 10.10 |
| Fix Version/s: | 10.4, 10.5, 10.6 |
| Type: | Bug | Priority: | Major |
| Reporter: | Igor Babaev | Assignee: | Michael Widenius |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | 11.0-sel | ||
| Description |
|
The query with HAVING from the following test case
returns a wrong result set:
|
| Comments |
| Comment by Igor Babaev [ 2017-10-30 ] | |||||||||||||||||||||||||||||||||||||||||||||||
|
rmysql-5.6, mysql-5.7 also return wrong result sets. | |||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Alice Sherepa [ 2022-12-01 ] | |||||||||||||||||||||||||||||||||||||||||||||||
|
Please check all variations of the query = with/without ORDER BY, etc currently 10.3 4e9206736c403206915c09-10.11:
without DISTINCT- 10.3-10.5
10.6+:
without ORDER BY: 10.3-10.11:
|