[Groonga-mysql-commit] mroonga/mroonga at bb4ff35 [master] test: add tests for changing mroonga_default_parser value

Back to archive index

Kouhei Sutou null+****@clear*****
Sun Apr 20 21:18:03 JST 2014


Kouhei Sutou	2014-04-20 21:18:03 +0900 (Sun, 20 Apr 2014)

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

  Message:
    test: add tests for changing mroonga_default_parser value

  Added files:
    mysql-test/mroonga/storage/variable/default_parser/r/new_value.result
    mysql-test/mroonga/storage/variable/default_parser/r/same_value.result
    mysql-test/mroonga/storage/variable/default_parser/t/new_value.test
    mysql-test/mroonga/storage/variable/default_parser/t/same_value.test

  Added: mysql-test/mroonga/storage/variable/default_parser/r/new_value.result (+4 -0) 100644
===================================================================
--- /dev/null
+++ mysql-test/mroonga/storage/variable/default_parser/r/new_value.result    2014-04-20 21:18:03 +0900 (0a2e27c)
@@ -0,0 +1,4 @@
+SET GLOBAL mroonga_default_parser = "TokenBigramSplitAlpha";
+SHOW GLOBAL VARIABLES LIKE 'mroonga_default_parser';
+Variable_name	Value
+mroonga_default_parser	TokenBigramSplitAlpha

  Added: mysql-test/mroonga/storage/variable/default_parser/r/same_value.result (+4 -0) 100644
===================================================================
--- /dev/null
+++ mysql-test/mroonga/storage/variable/default_parser/r/same_value.result    2014-04-20 21:18:03 +0900 (7f441b4)
@@ -0,0 +1,4 @@
+SET GLOBAL mroonga_default_parser = "TokenBigram";
+SHOW GLOBAL VARIABLES LIKE 'mroonga_default_parser';
+Variable_name	Value
+mroonga_default_parser	TokenBigram

  Added: mysql-test/mroonga/storage/variable/default_parser/t/new_value.test (+22 -0) 100644
===================================================================
--- /dev/null
+++ mysql-test/mroonga/storage/variable/default_parser/t/new_value.test    2014-04-20 21:18:03 +0900 (bfdeb16)
@@ -0,0 +1,22 @@
+# Copyright(C) 2014 Kouhei Sutou <kou �� clear-code.com>
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License, or (at your option) any later version.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+
+--source ../../../../include/mroonga/have_mroonga.inc
+
+SET GLOBAL mroonga_default_parser = "TokenBigramSplitAlpha";
+SHOW GLOBAL VARIABLES LIKE 'mroonga_default_parser';
+
+--source ../../../../include/mroonga/have_mroonga_deinit.inc

  Added: mysql-test/mroonga/storage/variable/default_parser/t/same_value.test (+22 -0) 100644
===================================================================
--- /dev/null
+++ mysql-test/mroonga/storage/variable/default_parser/t/same_value.test    2014-04-20 21:18:03 +0900 (1942005)
@@ -0,0 +1,22 @@
+# Copyright(C) 2014 Kouhei Sutou <kou �� clear-code.com>
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License, or (at your option) any later version.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+
+--source ../../../../include/mroonga/have_mroonga.inc
+
+SET GLOBAL mroonga_default_parser = "TokenBigram";
+SHOW GLOBAL VARIABLES LIKE 'mroonga_default_parser';
+
+--source ../../../../include/mroonga/have_mroonga_deinit.inc
-------------- next part --------------
HTML����������������������������...
Descargar 



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