OQGraph fails in --embedded

This commit is contained in:
Sergei Golubchik 2014-02-26 20:11:00 +01:00
commit f19b5f4e1b
2 changed files with 4 additions and 0 deletions

View file

@ -51,6 +51,7 @@ IF(BOOST_OK)
oqgraph_shim.cc oqgraph_thunk.cc oqgraph_judy.cc
STORAGE_ENGINE
MODULE_ONLY
RECOMPILE_FOR_EMBEDDED
COMPONENT oqgraph-engine
LINK_LIBRARIES ${Judy_LIBRARIES})
MESSAGE(STATUS "OQGraph OK")

View file

@ -5,6 +5,9 @@ package My::Suite::OQGraph;
return "No OQGraph" unless $ENV{HA_OQGRAPH_SO} or
$::mysqld_variables{'oqgraph'} eq "ON";
# as long as OQGraph defines MYSQL_SERVER it cannot run in embedded
return "Not run for embedded server" if $::opt_embedded_server;
sub is_default { 1 }
bless { };