Navigation Menu

Skip to content

Commit

Permalink
[storage][test] add mroonga_fast_order_limit check.
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Feb 1, 2012
1 parent 0285dfe commit f0b7e4e
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 0 deletions.
Expand Up @@ -36,4 +36,7 @@ id year month day title content
1 2011 11 9 Hello 今日からはじめました。
2 2011 11 10 天気 明日の富士山の天気について
4 2011 11 11 帰り道 今日は天気がよくてよかった。
SHOW STATUS LIKE 'mroonga_fast_order_limit';
Variable_name Value
mroonga_fast_order_limit 1
DROP TABLE diaries;
Expand Up @@ -35,4 +35,7 @@ id year month day title content
1 2011 11 9 Hello 今日からはじめました。
2 2011 11 10 天気 明日の富士山の天気について
4 2011 11 11 帰り道 今日は天気がよくてよかった。
SHOW STATUS LIKE 'mroonga_fast_order_limit';
Variable_name Value
mroonga_fast_order_limit 1
DROP TABLE diaries;
Expand Up @@ -42,6 +42,8 @@ INSERT INTO diaries VALUES(6, 2011, 12, 2, "初雪", "今日の天気は雪!")

SELECT * FROM diaries WHERE MATCH(content) AGAINST("今日 天気" IN BOOLEAN MODE) ORDER BY day LIMIT 0,5;

SHOW STATUS LIKE 'mroonga_fast_order_limit';

DROP TABLE diaries;

--source include/have_mroonga_deinit.inc
Expand Up @@ -42,6 +42,8 @@ INSERT INTO diaries VALUES(6, 2011, 12, 2, "初雪", "今日の天気は雪!")

SELECT * FROM diaries WHERE MATCH(content) AGAINST("今日 天気" IN BOOLEAN MODE) ORDER BY day LIMIT 0,5;

SHOW STATUS LIKE 'mroonga_fast_order_limit';

DROP TABLE diaries;

--source include/have_mroonga_deinit.inc

0 comments on commit f0b7e4e

Please sign in to comment.