Navigation Menu

Skip to content

Commit

Permalink
test: remove needless check
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Aug 24, 2016
1 parent dcd2e34 commit 95fc291
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 21 deletions.
Expand Up @@ -5,15 +5,6 @@ title TEXT,
body TEXT,
FULLTEXT INDEX (body)
) DEFAULT CHARSET UTF8;
SHOW CREATE TABLE diaries;
Table Create Table
diaries CREATE TABLE `diaries` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`title` text,
`body` text,
PRIMARY KEY (`id`),
FULLTEXT KEY `body` (`body`)
) ENGINE=Mroonga DEFAULT CHARSET=utf8
INSERT INTO diaries (title, body) VALUES ("survey", "will start groonga!");
INSERT INTO diaries (title, body) VALUES ("survey", "will start mroonga!");
SELECT * FROM diaries;
Expand All @@ -35,13 +26,4 @@ SELECT * FROM diaries
WHERE MATCH (body) AGAINST ("+groonga" IN BOOLEAN MODE);
id title body
1 survey will start groonga!
SHOW CREATE TABLE diaries;
Table Create Table
diaries CREATE TABLE `diaries` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`title` text,
`body` text,
PRIMARY KEY (`id`),
FULLTEXT KEY `body` (`body`)
) ENGINE=Mroonga AUTO_INCREMENT=3 DEFAULT CHARSET=utf8
DROP TABLE diaries;
Expand Up @@ -27,7 +27,6 @@ CREATE TABLE diaries (
body TEXT,
FULLTEXT INDEX (body)
) DEFAULT CHARSET UTF8;
SHOW CREATE TABLE diaries;

INSERT INTO diaries (title, body) VALUES ("survey", "will start groonga!");
INSERT INTO diaries (title, body) VALUES ("survey", "will start mroonga!");
Expand All @@ -44,8 +43,6 @@ SELECT * FROM diaries;
SELECT * FROM diaries
WHERE MATCH (body) AGAINST ("+groonga" IN BOOLEAN MODE);

SHOW CREATE TABLE diaries;

DROP TABLE diaries;

--source ../../../include/mroonga/have_mroonga_deinit.inc

0 comments on commit 95fc291

Please sign in to comment.