Commit f19b5f4e authored by Sergei Golubchik's avatar Sergei Golubchik

OQGraph fails in --embedded

parent 15ee9721
...@@ -51,6 +51,7 @@ IF(BOOST_OK) ...@@ -51,6 +51,7 @@ IF(BOOST_OK)
oqgraph_shim.cc oqgraph_thunk.cc oqgraph_judy.cc oqgraph_shim.cc oqgraph_thunk.cc oqgraph_judy.cc
STORAGE_ENGINE STORAGE_ENGINE
MODULE_ONLY MODULE_ONLY
RECOMPILE_FOR_EMBEDDED
COMPONENT oqgraph-engine COMPONENT oqgraph-engine
LINK_LIBRARIES ${Judy_LIBRARIES}) LINK_LIBRARIES ${Judy_LIBRARIES})
MESSAGE(STATUS "OQGraph OK") MESSAGE(STATUS "OQGraph OK")
......
...@@ -5,6 +5,9 @@ package My::Suite::OQGraph; ...@@ -5,6 +5,9 @@ package My::Suite::OQGraph;
return "No OQGraph" unless $ENV{HA_OQGRAPH_SO} or return "No OQGraph" unless $ENV{HA_OQGRAPH_SO} or
$::mysqld_variables{'oqgraph'} eq "ON"; $::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 } sub is_default { 1 }
bless { }; bless { };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment