diff options
author | monty@mysql.com <> | 2004-03-19 18:33:38 +0200 |
---|---|---|
committer | monty@mysql.com <> | 2004-03-19 18:33:38 +0200 |
commit | b49b24d94af43c965b26d81242dcec17aa7c2181 (patch) | |
tree | 7b70c20edffefc6a9a26014ddd3c8956f5248a2d /mysql-test/r/union.result | |
parent | 933278a52bb107feab2d4dcfd8b5ba9f51cc1896 (diff) | |
download | mariadb-git-b49b24d94af43c965b26d81242dcec17aa7c2181.tar.gz |
Added test to show bug in current union implementation
After merge fixes
Portability fixes
Diffstat (limited to 'mysql-test/r/union.result')
-rw-r--r-- | mysql-test/r/union.result | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/mysql-test/r/union.result b/mysql-test/r/union.result index f89d41aa982..5eb447ab223 100644 --- a/mysql-test/r/union.result +++ b/mysql-test/r/union.result @@ -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; |