mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Added test to show bug in current union implementation
After merge fixes Portability fixes
This commit is contained in:
@ -907,3 +907,18 @@ n
|
||||
9
|
||||
10
|
||||
drop table t1;
|
||||
create table t1 (i int);
|
||||
insert into t1 values (1);
|
||||
select * from t1 UNION select * from t1;
|
||||
i
|
||||
1
|
||||
select * from t1 UNION ALL select * from t1;
|
||||
i
|
||||
1
|
||||
1
|
||||
select * from t1 UNION select * from t1 UNION ALL select * from t1;
|
||||
i
|
||||
1
|
||||
1
|
||||
1
|
||||
drop table t1;
|
||||
|
Reference in New Issue
Block a user