[Groonga-mysql-commit] mroonga/mroonga at 04e1705 [master] test: add missing "+" for BOOLEAN MODE

Back to archive index

Kouhei Sutou null+****@clear*****
Sun Dec 28 18:04:42 JST 2014


Kouhei Sutou	2014-12-28 18:04:42 +0900 (Sun, 28 Dec 2014)

  New Revision: 04e1705df359e27c82af7d948a47aec3bc4a98ea
  https://github.com/mroonga/mroonga/commit/04e1705df359e27c82af7d948a47aec3bc4a98ea

  Message:
    test: add missing "+" for BOOLEAN MODE

  Modified files:
    mysql-test/mroonga/storage/column/groonga/index/r/fulltext_other_table.result
    mysql-test/mroonga/storage/column/groonga/index/t/fulltext_other_table.test

  Modified: mysql-test/mroonga/storage/column/groonga/index/r/fulltext_other_table.result (+2 -2)
===================================================================
--- mysql-test/mroonga/storage/column/groonga/index/r/fulltext_other_table.result    2014-12-28 17:35:45 +0900 (87c14a9)
+++ mysql-test/mroonga/storage/column/groonga/index/r/fulltext_other_table.result    2014-12-28 18:04:42 +0900 (6ac2e19)
@@ -32,9 +32,9 @@ load --table bugs
 ["_key","id","tags"],
 [1,1,["Linux","MySQL","groonga"]]
 ]
-SELECT *, MATCH (tags) AGAINST ("MySQL" IN BOOLEAN MODE) AS score
+SELECT *, MATCH (tags) AGAINST ("+MySQL" IN BOOLEAN MODE) AS score
 FROM bugs
-WHERE MATCH (tags) AGAINST ("MySQL" IN BOOLEAN MODE);
+WHERE MATCH (tags) AGAINST ("+MySQL" IN BOOLEAN MODE);
 id	tags	score
 1	Linux MySQL groonga	1
 DROP TABLE bugs;

  Modified: mysql-test/mroonga/storage/column/groonga/index/t/fulltext_other_table.test (+2 -2)
===================================================================
--- mysql-test/mroonga/storage/column/groonga/index/t/fulltext_other_table.test    2014-12-28 17:35:45 +0900 (4477033)
+++ mysql-test/mroonga/storage/column/groonga/index/t/fulltext_other_table.test    2014-12-28 18:04:42 +0900 (0c76571)
@@ -41,9 +41,9 @@ INSERT INTO bugs (id, tags) VALUES (1, "Linux MySQL groonga");
 
 SELECT mroonga_command("dump");
 
-SELECT *, MATCH (tags) AGAINST ("MySQL" IN BOOLEAN MODE) AS score
+SELECT *, MATCH (tags) AGAINST ("+MySQL" IN BOOLEAN MODE) AS score
        FROM bugs
-       WHERE MATCH (tags) AGAINST ("MySQL" IN BOOLEAN MODE);
+       WHERE MATCH (tags) AGAINST ("+MySQL" IN BOOLEAN MODE);
 
 DROP TABLE bugs;
 DROP TABLE tags;
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-mysql-commit mailing list
Back to archive index