summaryrefslogtreecommitdiff
path: root/mysql-test/r/subselect.result
diff options
context:
space:
mode:
authorserg@serg.mylan <>2004-08-19 18:40:15 +0200
committerserg@serg.mylan <>2004-08-19 18:40:15 +0200
commita29c9d37076bdc29e2870c15c4b43f3ab90f4618 (patch)
tree004edccc6670d662cae84ca72eb44a3bbc305c30 /mysql-test/r/subselect.result
parentcf1be1069e03a97c9e8cee61fe38b58317623788 (diff)
downloadmariadb-git-a29c9d37076bdc29e2870c15c4b43f3ab90f4618.tar.gz
Bug #4769 - ft in subqueries
Diffstat (limited to 'mysql-test/r/subselect.result')
-rw-r--r--mysql-test/r/subselect.result13
1 files changed, 13 insertions, 0 deletions
diff --git a/mysql-test/r/subselect.result b/mysql-test/r/subselect.result
index 77339473142..fe7ffa9b661 100644
--- a/mysql-test/r/subselect.result
+++ b/mysql-test/r/subselect.result
@@ -1899,3 +1899,16 @@ select t000.a, count(*) `C` FROM t1 t000 GROUP BY t000.a HAVING count(*) > ALL (
a C
1 1
drop table t1,t2;
+create table t1 (a int not null auto_increment primary key, b varchar(40), fulltext(b));
+insert into t1 (b) values ('ball'),('ball games'), ('games'), ('foo'), ('foobar'), ('Serg'), ('Sergei'),('Georg'), ('Patrik'),('Hakan');
+create table t2 (a int);
+insert into t2 values (1),(3),(2),(7);
+select a,b from t1 where match(b) against ('Ball') > 0;
+a b
+1 ball
+2 ball games
+select a from t2 where a in (select a from t1 where match(b) against ('Ball') > 0);
+a
+1
+2
+drop table t1,t2;