[Groonga-mysql-commit] mroonga/mroonga [fix-for-visual-studio] [storage][test] add mroonga_fast_order_limit check.

Back to archive index

Kouhei Sutou null+****@clear*****
Thu Oct 4 10:46:26 JST 2012


Kouhei Sutou	2012-02-01 18:34:03 +0900 (Wed, 01 Feb 2012)

  New Revision: f0b7e4e2b1b9fa96ff7fa1a0d34ca447f48ff95b
  https://github.com/mroonga/mroonga/commit/f0b7e4e2b1b9fa96ff7fa1a0d34ca447f48ff95b

  Log:
    [storage][test] add mroonga_fast_order_limit check.

  Modified files:
    test/sql/suite/mroonga_storage/r/fulltext_order_limit_have_primary_key.result
    test/sql/suite/mroonga_storage/r/fulltext_order_limit_no_primary_key.result
    test/sql/suite/mroonga_storage/t/fulltext_order_limit_have_primary_key.test
    test/sql/suite/mroonga_storage/t/fulltext_order_limit_no_primary_key.test

  Modified: test/sql/suite/mroonga_storage/r/fulltext_order_limit_have_primary_key.result (+3 -0)
===================================================================
--- test/sql/suite/mroonga_storage/r/fulltext_order_limit_have_primary_key.result    2012-02-01 16:11:44 +0900 (7755e03)
+++ test/sql/suite/mroonga_storage/r/fulltext_order_limit_have_primary_key.result    2012-02-01 18:34:03 +0900 (97183ca)
@@ -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;

  Modified: test/sql/suite/mroonga_storage/r/fulltext_order_limit_no_primary_key.result (+3 -0)
===================================================================
--- test/sql/suite/mroonga_storage/r/fulltext_order_limit_no_primary_key.result    2012-02-01 16:11:44 +0900 (1645409)
+++ test/sql/suite/mroonga_storage/r/fulltext_order_limit_no_primary_key.result    2012-02-01 18:34:03 +0900 (86a354a)
@@ -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;

  Modified: test/sql/suite/mroonga_storage/t/fulltext_order_limit_have_primary_key.test (+2 -0)
===================================================================
--- test/sql/suite/mroonga_storage/t/fulltext_order_limit_have_primary_key.test    2012-02-01 16:11:44 +0900 (a803380)
+++ test/sql/suite/mroonga_storage/t/fulltext_order_limit_have_primary_key.test    2012-02-01 18:34:03 +0900 (d979bdf)
@@ -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

  Modified: test/sql/suite/mroonga_storage/t/fulltext_order_limit_no_primary_key.test (+2 -0)
===================================================================
--- test/sql/suite/mroonga_storage/t/fulltext_order_limit_no_primary_key.test    2012-02-01 16:11:44 +0900 (44ecf9c)
+++ test/sql/suite/mroonga_storage/t/fulltext_order_limit_no_primary_key.test    2012-02-01 18:34:03 +0900 (0bf2755)
@@ -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
-------------- next part --------------
HTML����������������������������...
Download 



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