Navigation Menu

Skip to content

Commit

Permalink
test: fix for allocate col_type
Browse files Browse the repository at this point in the history
  • Loading branch information
mmmaru777 committed Feb 24, 2014
1 parent 7b6cae7 commit 773f765
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -12,7 +12,7 @@ INSERT INTO bugs (id, tags) VALUES (1, "Groonga Mroonga");
SELECT * FROM bugs;
id tags
1 GROONGA MROONGA
ALTER TABLE bugs ADD FULLTEXT INDEX bugs_tags_index (tags) COMMENT 'table "tags"';
ALTER TABLE bugs ADD FULLTEXT INDEX bugs_tags_index (tags) COMMENT 'type "tags", table "tags"';
SELECT * FROM bugs
WHERE MATCH(tags) AGAINST("Groonga");
id tags
Expand Down
Expand Up @@ -36,7 +36,7 @@ INSERT INTO bugs (id, tags) VALUES (1, "Groonga Mroonga");

SELECT * FROM bugs;

ALTER TABLE bugs ADD FULLTEXT INDEX bugs_tags_index (tags) COMMENT 'table "tags"';
ALTER TABLE bugs ADD FULLTEXT INDEX bugs_tags_index (tags) COMMENT 'type "tags", table "tags"';

SELECT * FROM bugs
WHERE MATCH(tags) AGAINST("Groonga");
Expand Down

0 comments on commit 773f765

Please sign in to comment.