summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mysql-test/include/have_cassandra.opt2
-rw-r--r--sql/sql_plugin.cc3
-rw-r--r--storage/cassandra/CMakeLists.txt2
3 files changed, 4 insertions, 3 deletions
diff --git a/mysql-test/include/have_cassandra.opt b/mysql-test/include/have_cassandra.opt
index 92d642a5e4c..ee3c12dc46c 100644
--- a/mysql-test/include/have_cassandra.opt
+++ b/mysql-test/include/have_cassandra.opt
@@ -1 +1 @@
---cassandra=on
+--plugin-load=$HA_CASSANDRA_SO --cassandra=on
diff --git a/sql/sql_plugin.cc b/sql/sql_plugin.cc
index e15f6339847..45e8adf1f5f 100644
--- a/sql/sql_plugin.cc
+++ b/sql/sql_plugin.cc
@@ -175,7 +175,8 @@ static struct
/* we disable few other plugins by default */
{ "ndbcluster", PLUGIN_OFF },
{ "feedback", PLUGIN_OFF },
- { "pbxt", PLUGIN_OFF }
+ { "pbxt", PLUGIN_OFF },
+ { "cassandra", PLUGIN_OFF }
};
/* support for Services */
diff --git a/storage/cassandra/CMakeLists.txt b/storage/cassandra/CMakeLists.txt
index 7852177b9b3..5db15542443 100644
--- a/storage/cassandra/CMakeLists.txt
+++ b/storage/cassandra/CMakeLists.txt
@@ -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})
#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