null+****@clear*****
null+****@clear*****
2012年 4月 8日 (日) 18:12:58 JST
Kouhei Sutou 2012-04-08 18:12:58 +0900 (Sun, 08 Apr 2012)
New Revision: 78c68ff95e09b23f3036d755e42d4090546b2ceb
Log:
test: use a search keyword that causes a problem case
refs #1335
Modified files:
test/sql/suite/mroonga_storage/r/truncate.result
test/sql/suite/mroonga_storage/t/truncate.test
test/sql/suite/mroonga_wrapper/r/truncate.result
test/sql/suite/mroonga_wrapper/t/truncate.test
Modified: test/sql/suite/mroonga_storage/r/truncate.result (+1 -1)
===================================================================
--- test/sql/suite/mroonga_storage/r/truncate.result 2012-04-04 00:52:30 +0900 (37231ee)
+++ test/sql/suite/mroonga_storage/r/truncate.result 2012-04-08 18:12:58 +0900 (0870a24)
@@ -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;
Modified: test/sql/suite/mroonga_storage/t/truncate.test (+2 -2)
===================================================================
--- test/sql/suite/mroonga_storage/t/truncate.test 2012-04-04 00:52:30 +0900 (2e2b407)
+++ test/sql/suite/mroonga_storage/t/truncate.test 2012-04-08 18:12:58 +0900 (a76b9d4)
@@ -1,4 +1,4 @@
-# Copyright(C) 2011 Kouhei Sutou <kou****@clear*****>
+# Copyright(C) 2011-2012 Kouhei Sutou <kou****@clear*****>
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
@@ -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;
Modified: test/sql/suite/mroonga_wrapper/r/truncate.result (+1 -1)
===================================================================
--- test/sql/suite/mroonga_wrapper/r/truncate.result 2012-04-04 00:52:30 +0900 (9f31683)
+++ test/sql/suite/mroonga_wrapper/r/truncate.result 2012-04-08 18:12:58 +0900 (fd90beb)
@@ -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;
Modified: test/sql/suite/mroonga_wrapper/t/truncate.test (+2 -2)
===================================================================
--- test/sql/suite/mroonga_wrapper/t/truncate.test 2012-04-04 00:52:30 +0900 (771e1c2)
+++ test/sql/suite/mroonga_wrapper/t/truncate.test 2012-04-08 18:12:58 +0900 (7213c5f)
@@ -1,4 +1,4 @@
-# Copyright(C) 2011 Kouhei Sutou <kou****@clear*****>
+# Copyright(C) 2011-2012 Kouhei Sutou <kou****@clear*****>
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
@@ -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;