[Groonga-mysql-commit] mroonga/mroonga at 0a12181 [master] test: remove needless check

Zurück zum Archiv-Index

Kouhei Sutou null+****@clear*****
Thu Aug 25 08:05:19 JST 2016


Kouhei Sutou	2016-08-25 08:05:19 +0900 (Thu, 25 Aug 2016)

  New Revision: 0a12181201d0962e9684248bd024c589bb24292e
  https://github.com/mroonga/mroonga/commit/0a12181201d0962e9684248bd024c589bb24292e

  Message:
    test: remove needless check

  Modified files:
    mysql-test/mroonga/storage/alter_table/fulltext/add/r/normal.result
    mysql-test/mroonga/storage/alter_table/fulltext/add/t/normal.test

  Modified: mysql-test/mroonga/storage/alter_table/fulltext/add/r/normal.result (+1 -9)
===================================================================
--- mysql-test/mroonga/storage/alter_table/fulltext/add/r/normal.result    2016-08-25 08:01:51 +0900 (d98dc43)
+++ mysql-test/mroonga/storage/alter_table/fulltext/add/r/normal.result    2016-08-25 08:05:19 +0900 (cf6840a)
@@ -7,15 +7,7 @@ INSERT INTO memos (content) values ("Starting Groonga...");
 INSERT INTO memos (content) values ("Started Groonga.");
 INSERT INTO memos (content) values ("Starting Mroonga...");
 ALTER TABLE memos ADD FULLTEXT INDEX content_index (content);
-SHOW CREATE TABLE memos;
-Table	Create Table
-memos	CREATE TABLE `memos` (
-  `id` int(11) NOT NULL AUTO_INCREMENT,
-  `content` text,
-  PRIMARY KEY (`id`),
-  FULLTEXT KEY `content_index` (`content`)
-) ENGINE=Mroonga AUTO_INCREMENT=4 DEFAULT CHARSET=utf8
-SELECT * FROM memos WHERE MATCH(content) AGAINST("groonga");
+SELECT * FROM memos WHERE MATCH(content) AGAINST("+groonga" IN BOOLEAN MODE);
 id	content
 1	Starting Groonga...
 2	Started Groonga.

  Modified: mysql-test/mroonga/storage/alter_table/fulltext/add/t/normal.test (+1 -2)
===================================================================
--- mysql-test/mroonga/storage/alter_table/fulltext/add/t/normal.test    2016-08-25 08:01:51 +0900 (0bbe81c)
+++ mysql-test/mroonga/storage/alter_table/fulltext/add/t/normal.test    2016-08-25 08:05:19 +0900 (42889dd)
@@ -31,9 +31,8 @@ INSERT INTO memos (content) values ("Started Groonga.");
 INSERT INTO memos (content) values ("Starting Mroonga...");
 
 ALTER TABLE memos ADD FULLTEXT INDEX content_index (content);
-SHOW CREATE TABLE memos;
 
-SELECT * FROM memos WHERE MATCH(content) AGAINST("groonga");
+SELECT * FROM memos WHERE MATCH(content) AGAINST("+groonga" IN BOOLEAN MODE);
 
 DROP TABLE memos;
 
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-mysql-commit mailing list
Zurück zum Archiv-Index