[Groonga-mysql-commit] mroonga/mroonga at b472d89 [master] Add .pm file for preparing SQL test.

Back to archive index

shibakentoku null+****@clear*****
Sun Feb 2 03:47:46 JST 2014


shibakentoku	2014-02-02 03:47:46 +0900 (Sun, 02 Feb 2014)

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

  Message:
    Add .pm file for preparing SQL test.

  Added files:
    mysql-test/mroonga/storage/suite.pm
    mysql-test/mroonga/wrapper/suite.pm

  Added: mysql-test/mroonga/storage/suite.pm (+16 -0) 100644
===================================================================
--- /dev/null
+++ mysql-test/mroonga/storage/suite.pm    2014-02-02 03:47:46 +0900 (e326435)
@@ -0,0 +1,16 @@
+package My::Suite::Mroonga;
+
+ �� ISA = qw(My::Suite);
+
+return "No Mroonga engine" unless $ENV{HA_MROONGA_SO} or
+                                  $::mysqld_variables{'mroonga'} eq "ON";
+
+sub is_default { 1 }
+
+if (-d "../sql")
+{
+  $ENV{GRN_PLUGINS_DIR}=$::basedir . '/storage/mroonga/vendor/groonga/vendor/plugins/groonga-normalizer-mysql';
+}
+
+bless { };
+

  Added: mysql-test/mroonga/wrapper/suite.pm (+16 -0) 100644
===================================================================
--- /dev/null
+++ mysql-test/mroonga/wrapper/suite.pm    2014-02-02 03:47:46 +0900 (e326435)
@@ -0,0 +1,16 @@
+package My::Suite::Mroonga;
+
+ �� ISA = qw(My::Suite);
+
+return "No Mroonga engine" unless $ENV{HA_MROONGA_SO} or
+                                  $::mysqld_variables{'mroonga'} eq "ON";
+
+sub is_default { 1 }
+
+if (-d "../sql")
+{
+  $ENV{GRN_PLUGINS_DIR}=$::basedir . '/storage/mroonga/vendor/groonga/vendor/plugins/groonga-normalizer-mysql';
+}
+
+bless { };
+
-------------- next part --------------
HTML����������������������������...
下載 



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