Navigation Menu

Skip to content

Commit

Permalink
[wrapper][test] readd a removed test.
Browse files Browse the repository at this point in the history
It doesn't have match against conditions in selected columns.
  • Loading branch information
kou committed Sep 25, 2011
1 parent fad07e5 commit 86ca931
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/sql/groonga_wrapper/r/fulltext_multiple_index.result
Expand Up @@ -19,6 +19,11 @@ diaries CREATE TABLE `diaries` (
insert into diaries (title, body) values ("survey", "will start groonga!");
insert into diaries (title, body) values ("groonga (1)", "starting groonga...");
insert into diaries (title, body) values ("groonga (2)", "started groonga.");
select * from diaries
where match(title) against("survey") and
match(body) against("groonga");
id title body
1 survey will start groonga!
select *, match(title) against("survey"), match(body) against("groonga")
from diaries
where match(title) against("survey") and
Expand Down
4 changes: 4 additions & 0 deletions test/sql/groonga_wrapper/t/fulltext_multiple_index.test
Expand Up @@ -33,6 +33,10 @@ insert into diaries (title, body) values ("survey", "will start groonga!");
insert into diaries (title, body) values ("groonga (1)", "starting groonga...");
insert into diaries (title, body) values ("groonga (2)", "started groonga.");

select * from diaries
where match(title) against("survey") and
match(body) against("groonga");

select *, match(title) against("survey"), match(body) against("groonga")
from diaries
where match(title) against("survey") and
Expand Down

0 comments on commit 86ca931

Please sign in to comment.