Navigation Menu

Skip to content

Commit

Permalink
test: use a search keyword that causes a problem case
Browse files Browse the repository at this point in the history
refs #1335
  • Loading branch information
kou committed Apr 8, 2012
1 parent 1d3e9bf commit 78c68ff
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion test/sql/suite/mroonga_storage/r/truncate.result
Expand Up @@ -39,7 +39,7 @@ id year month day title content
1 2011 11 11 帰り道 つかれたー
2 2011 12 1 久しぶり 天気が悪いからずっと留守番。
3 2011 12 2 初雪 今年はじめての雪!
SELECT * FROM diaries WHERE MATCH(content) AGAINST("今日 天気" IN BOOLEAN MODE);
SELECT * FROM diaries WHERE MATCH(content) AGAINST("悪い" IN BOOLEAN MODE);
id year month day title content
2 2011 12 1 久しぶり 天気が悪いからずっと留守番。
DROP TABLE diaries;
4 changes: 2 additions & 2 deletions test/sql/suite/mroonga_storage/t/truncate.test
@@ -1,4 +1,4 @@
# Copyright(C) 2011 Kouhei Sutou <kou@clear-code.com>
# Copyright(C) 2011-2012 Kouhei Sutou <kou@clear-code.com>
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
Expand Down Expand Up @@ -46,7 +46,7 @@ INSERT INTO diaries VALUES(2, 2011, 12, 1, "久しぶり", "天気が悪いか
INSERT INTO diaries VALUES(3, 2011, 12, 2, "初雪", "今年はじめての雪!");

SELECT * FROM diaries;
SELECT * FROM diaries WHERE MATCH(content) AGAINST("今日 天気" IN BOOLEAN MODE);
SELECT * FROM diaries WHERE MATCH(content) AGAINST("悪い" IN BOOLEAN MODE);


DROP TABLE diaries;
Expand Down
2 changes: 1 addition & 1 deletion test/sql/suite/mroonga_wrapper/r/truncate.result
Expand Up @@ -39,7 +39,7 @@ id year month day title content
1 2011 11 11 帰り道 つかれたー
2 2011 12 1 久しぶり 天気が悪いからずっと留守番。
3 2011 12 2 初雪 今年はじめての雪!
SELECT * FROM diaries WHERE MATCH(content) AGAINST("今日 天気" IN BOOLEAN MODE);
SELECT * FROM diaries WHERE MATCH(content) AGAINST("悪い" IN BOOLEAN MODE);
id year month day title content
2 2011 12 1 久しぶり 天気が悪いからずっと留守番。
DROP TABLE diaries;
4 changes: 2 additions & 2 deletions test/sql/suite/mroonga_wrapper/t/truncate.test
@@ -1,4 +1,4 @@
# Copyright(C) 2011 Kouhei Sutou <kou@clear-code.com>
# Copyright(C) 2011-2012 Kouhei Sutou <kou@clear-code.com>
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
Expand Down Expand Up @@ -47,7 +47,7 @@ INSERT INTO diaries VALUES(2, 2011, 12, 1, "久しぶり", "天気が悪いか
INSERT INTO diaries VALUES(3, 2011, 12, 2, "初雪", "今年はじめての雪!");

SELECT * FROM diaries;
SELECT * FROM diaries WHERE MATCH(content) AGAINST("今日 天気" IN BOOLEAN MODE);
SELECT * FROM diaries WHERE MATCH(content) AGAINST("悪い" IN BOOLEAN MODE);


DROP TABLE diaries;
Expand Down

0 comments on commit 78c68ff

Please sign in to comment.