Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add .pm file for preparing SQL test.
- Loading branch information
shibakentoku
committed
Feb 1, 2014
1 parent
365efed
commit b472d89
Showing
2 changed files
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -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 { }; | ||
|
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -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 { }; | ||
|
|