Commit 363436ed authored by unknown's avatar unknown

Make cassandra module and do not load it by default.

parent d27d9d76
--cassandra=on --plugin-load=$HA_CASSANDRA_SO --cassandra=on
...@@ -175,7 +175,8 @@ static struct ...@@ -175,7 +175,8 @@ static struct
/* we disable few other plugins by default */ /* we disable few other plugins by default */
{ "ndbcluster", PLUGIN_OFF }, { "ndbcluster", PLUGIN_OFF },
{ "feedback", PLUGIN_OFF }, { "feedback", PLUGIN_OFF },
{ "pbxt", PLUGIN_OFF } { "pbxt", PLUGIN_OFF },
{ "cassandra", PLUGIN_OFF }
}; };
/* support for Services */ /* support for Services */
......
...@@ -22,5 +22,5 @@ STRING(REPLACE "-fno-exceptions" "" CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS}) ...@@ -22,5 +22,5 @@ STRING(REPLACE "-fno-exceptions" "" CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS})
STRING(REPLACE "-fno-implicit-templates" "" CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS}) STRING(REPLACE "-fno-implicit-templates" "" CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS})
#LINK_DIRECTORIES(/home/psergey/cassandra/thrift/lib) #LINK_DIRECTORIES(/home/psergey/cassandra/thrift/lib)
MYSQL_ADD_PLUGIN(cassandra ${cassandra_sources} STORAGE_ENGINE LINK_LIBRARIES thrift) MYSQL_ADD_PLUGIN(cassandra ${cassandra_sources} STORAGE_ENGINE MODULE_ONLY LINK_LIBRARIES thrift)
# was: STORAGE_ENGINE MANDATORY # was: STORAGE_ENGINE MANDATORY
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