File tree Expand file tree Collapse file tree 3 files changed +11
-0
lines changed Expand file tree Collapse file tree 3 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -319,6 +319,7 @@ if(MRN_BUNDLED)
319
319
mysql_add_plugin (mroonga
320
320
${MRN_ALL_SOURCES}
321
321
STORAGE_ENGINE MODULE_ONLY
322
+ RECOMPILE_FOR_EMBEDDED
322
323
LINK_LIBRARIES ${MRN_LIBRARIES} )
323
324
else ()
324
325
add_library (mroonga MODULE ${MRN_ALL_SOURCES} )
Original file line number Diff line number Diff line change @@ -5,6 +5,11 @@ package My::Suite::Mroonga;
5
5
return " No Mroonga engine" unless $ENV {HA_MROONGA_SO } or
6
6
$: :mysqld_variables{' mroonga' } eq " ON" ;
7
7
8
+ # RECOMPILE_FOR_EMBEDDED also means that a plugin
9
+ # cannot be dynamically loaded into embedded
10
+ return " Not run for embedded server" if $: :opt_embedded_server and
11
+ $ENV {HA_MROONGA_SO };
12
+
8
13
sub is_default { 1 }
9
14
10
15
my $groonga_normalizer_mysql_dir =$: :basedir . ' /storage/mroonga/vendor/groonga/vendor/plugins/groonga-normalizer-mysql' ;
Original file line number Diff line number Diff line change @@ -4,6 +4,11 @@ package My::Suite::Mroonga;
4
4
5
5
return " No Mroonga engine" unless $ENV {HA_MROONGA_SO } or
6
6
$: :mysqld_variables{' mroonga' } eq " ON" ;
7
+ #
8
+ # RECOMPILE_FOR_EMBEDDED also means that a plugin
9
+ # cannot be dynamically loaded into embedded
10
+ return " Not run for embedded server" if $: :opt_embedded_server and
11
+ $ENV {HA_MROONGA_SO };
7
12
8
13
sub is_default { 1 }
9
14
You can’t perform that action at this time.
0 commit comments