summaryrefslogtreecommitdiff
path: root/storage/spider/spd_param.cc
diff options
context:
space:
mode:
authorKentoku SHIBA <kentokushiba@gmail.com>2014-03-25 05:25:47 +0900
committerKentoku SHIBA <kentokushiba@gmail.com>2014-03-25 05:25:47 +0900
commitd3e54d2b3cf746880e148b1191083baaedcdd5dd (patch)
tree13290dae9493e50b3fc95b613ffff6b1a7c3c2c3 /storage/spider/spd_param.cc
parentf41f5f742f67eca9a9c18c3954a175f1b049ed01 (diff)
downloadmariadb-git-d3e54d2b3cf746880e148b1191083baaedcdd5dd.tar.gz
add information for MariaDB
Diffstat (limited to 'storage/spider/spd_param.cc')
-rw-r--r--storage/spider/spd_param.cc24
1 files changed, 24 insertions, 0 deletions
diff --git a/storage/spider/spd_param.cc b/storage/spider/spd_param.cc
index 899d10a9f93..62ad7231183 100644
--- a/storage/spider/spd_param.cc
+++ b/storage/spider/spd_param.cc
@@ -33,6 +33,9 @@
#include "spd_trx.h"
extern struct st_mysql_plugin spider_i_s_alloc_mem;
+#ifdef MARIADB_BASE_VERSION
+extern struct st_maria_plugin spider_i_s_alloc_mem_maria;
+#endif
extern volatile ulonglong spider_mon_table_cache_version;
extern volatile ulonglong spider_mon_table_cache_version_req;
@@ -3086,3 +3089,24 @@ mysql_declare_plugin(spider)
},
spider_i_s_alloc_mem
mysql_declare_plugin_end;
+
+#ifdef MARIADB_BASE_VERSION
+maria_declare_plugin(spider)
+{
+ MYSQL_STORAGE_ENGINE_PLUGIN,
+ &spider_storage_engine,
+ "SPIDER",
+ "Kentoku Shiba",
+ "Spider storage engine",
+ PLUGIN_LICENSE_GPL,
+ spider_db_init,
+ spider_db_done,
+ SPIDER_HEX_VERSION,
+ spider_status_variables,
+ spider_system_variables,
+ SPIDER_DETAIL_VERSION,
+ MariaDB_PLUGIN_MATURITY_BETA
+},
+spider_i_s_alloc_mem_maria
+maria_declare_plugin_end;
+#endif