mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
correct support for a mix of UNION/UNION ALL in the same query.
Bug#1428
This commit is contained in:
@ -36,8 +36,6 @@ a b
|
||||
1 a
|
||||
2 b
|
||||
3 c
|
||||
3 c
|
||||
3 c
|
||||
4 d
|
||||
5 f
|
||||
6 e
|
||||
@ -48,8 +46,6 @@ select 0,'#' union select a,b from t1 union all select a,b from t2 union select
|
||||
1 a
|
||||
2 b
|
||||
3 c
|
||||
3 c
|
||||
3 c
|
||||
4 d
|
||||
5 f
|
||||
6 e
|
||||
@ -920,5 +916,9 @@ select * from t1 UNION select * from t1 UNION ALL select * from t1;
|
||||
i
|
||||
1
|
||||
1
|
||||
1
|
||||
drop table t1;
|
||||
select 1 as a union all select 1 union all select 2 union select 1 union all select 2;
|
||||
a
|
||||
1
|
||||
2
|
||||
2
|
||||
|
Reference in New Issue
Block a user