Details
-
Type:
Bug
-
Status: Closed (View Workflow)
-
Priority:
Major
-
Resolution: Duplicate
-
Affects Version/s: 10.2.2, 10.3
-
Fix Version/s: N/A
-
Component/s: Data Manipulation - Subquery, Optimizer
-
Labels:None
Description
Please have a look at the attached screenshots, it will be easy to reproduce.
when i run this Query, it return wrong results when i run this query on 10.2.7
but return right results when i run on 10.1.x.
SELECT `api`.`Id`, `api`.`Description`, `api`.`DisplayName`, `api`.`Enabled`, `api`.`Name` |
FROM `ApiResources` AS `api` |
WHERE EXISTS ( |
SELECT 1 |
FROM `ApiScopes` AS `x` |
WHERE `x`.`Name` IN ('openid', 'profile', 'ccx2api', 'ccx2lmapi') AND (`api`.`Id` = `x`.`ApiResourceId`)) |
ORDER BY `api`.`Id` |
Attachments
Issue Links
- is duplicated by
-
MDEV-12959 ORDER BY is mixing up rows
-
- Closed
-
-
MDEV-13994 Bad join results with orderby_uses_equalities=on
-
- Closed
-
- relates to
-
MDEV-13694 Wrong result upon GROUP BY with orderby_uses_equalities=on
-
- Closed
-
-
MDEV-13704 Nested query does not give same result as subquery and an outer query
-
- Closed
-
-
MDEV-13994 Bad join results with orderby_uses_equalities=on
-
- Closed
-