summaryrefslogtreecommitdiff
path: root/mysql-test/t/merge.test
diff options
context:
space:
mode:
authorserg@serg.mysql.com <>2001-05-16 23:06:30 +0200
committerserg@serg.mysql.com <>2001-05-16 23:06:30 +0200
commitb6138af0009fd8f032ff223188198a95ce9ec42c (patch)
tree2a70f22e99c521af3c0c2174fd0bbf8ed02fa073 /mysql-test/t/merge.test
parent4e04aa4abd0e540e6ce5cd48f2057ae993ee3336 (diff)
downloadmariadb-git-b6138af0009fd8f032ff223188198a95ce9ec42c.tar.gz
Fulltext manual changed, MERGE bug fixed
Diffstat (limited to 'mysql-test/t/merge.test')
-rw-r--r--mysql-test/t/merge.test13
1 files changed, 13 insertions, 0 deletions
diff --git a/mysql-test/t/merge.test b/mysql-test/t/merge.test
index 0b14ba388ce..619ec1d58af 100644
--- a/mysql-test/t/merge.test
+++ b/mysql-test/t/merge.test
@@ -96,3 +96,16 @@ drop table t3,t2,t1;
create table t1 (a int not null) type=merge;
select * from t1;
drop table t1;
+
+#
+# Bug found by Monty.
+#
+
+drop table if exists t3, t2, t1;
+create table t1 (a int not null, b int not null, key(a,b));
+create table t2 (a int not null, b int not null, key(a,b));
+create table t3 (a int not null, b int not null, key(a,b)) TYPE=MERGE UNION=(t1,t2);
+insert into t1 values (1,2),(2,1),(0,0),(4,4),(5,5),(6,6);
+insert into t2 values (1,1),(2,2),(0,0),(4,4),(5,5),(6,6);
+flush tables;
+select * from t3 where a=1 order by b limit 2;