1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

MDEV-18701: Wrong result from query that uses INTERSECT after UNION ALL

Recalculate distinct pointer if we cut chain of SELECTs
This commit is contained in:
Oleksandr Byelkin
2019-03-11 17:10:20 +01:00
parent 58f3ff7175
commit 6d68a3464e
5 changed files with 69 additions and 13 deletions

View File

@@ -366,6 +366,7 @@ values (1,2);
1 2
1 2
3 4
1 2
# combination of different structures that uses VALUES structures : UNION + UNION ALL
values (1,2),(3,4)
union all