summaryrefslogtreecommitdiff
path: root/mysql-test
diff options
context:
space:
mode:
authorunknown <Sinisa@sinisa.nasamreza.org>2003-07-02 15:08:36 +0300
committerunknown <Sinisa@sinisa.nasamreza.org>2003-07-02 15:08:36 +0300
commitfd693194c9620078d61d77eae5e62fb4f5235942 (patch)
tree5bf01eed7b647734cdc485c578c1be1b732ce37e /mysql-test
parent7ad2b84907b4bc5d40551f85c8cdf6d3af1fc29a (diff)
parent66237f45fb325bbfd3e9b21eaca924920fdc2007 (diff)
downloadmariadb-git-fd693194c9620078d61d77eae5e62fb4f5235942.tar.gz
Merge sinisa@bk-internal.mysql.com:/home/bk/mysql-4.0
into sinisa.nasamreza.org:/mnt/work/mysql-4.0
Diffstat (limited to 'mysql-test')
-rw-r--r--mysql-test/r/union.result12
-rw-r--r--mysql-test/t/union.test4
2 files changed, 4 insertions, 12 deletions
diff --git a/mysql-test/r/union.result b/mysql-test/r/union.result
index 2072b045563..51d9f2d17ca 100644
--- a/mysql-test/r/union.result
+++ b/mysql-test/r/union.result
@@ -271,9 +271,9 @@ insert into t1 values(1,'a'),(2,'b'),(3,'c'),(3,'c');
CREATE TABLE t2 (a int not null, b char (10) not null);
insert into t2 values (3,'c'),(4,'d'),(5,'f'),(6,'e');
create table t3 select a,b from t1 union select a,b from t2;
-create table t4 (select a,b from t1) union (select a,b from t2);
+create table t4 (select a,b from t1) union (select a,b from t2) limit 2;
insert into t4 select a,b from t1 union select a,b from t2;
-insert into t3 (select a,b from t1) union (select a,b from t2);
+insert into t3 (select a,b from t1) union (select a,b from t2) limit 2;
select * from t3;
a b
1 a
@@ -284,18 +284,10 @@ a b
6 e
1 a
2 b
-3 c
-4 d
-5 f
-6 e
select * from t4;
a b
1 a
2 b
-3 c
-4 d
-5 f
-6 e
1 a
2 b
3 c
diff --git a/mysql-test/t/union.test b/mysql-test/t/union.test
index dcf2f79e5bf..5f7eba83755 100644
--- a/mysql-test/t/union.test
+++ b/mysql-test/t/union.test
@@ -164,9 +164,9 @@ insert into t1 values(1,'a'),(2,'b'),(3,'c'),(3,'c');
CREATE TABLE t2 (a int not null, b char (10) not null);
insert into t2 values (3,'c'),(4,'d'),(5,'f'),(6,'e');
create table t3 select a,b from t1 union select a,b from t2;
-create table t4 (select a,b from t1) union (select a,b from t2);
+create table t4 (select a,b from t1) union (select a,b from t2) limit 2;
insert into t4 select a,b from t1 union select a,b from t2;
-insert into t3 (select a,b from t1) union (select a,b from t2);
+insert into t3 (select a,b from t1) union (select a,b from t2) limit 2;
select * from t3;
select * from t4;
drop table t1,t2,t3,t4;