Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
d3e54d2b
Commit
d3e54d2b
authored
Mar 25, 2014
by
Kentoku SHIBA
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add information for MariaDB
parent
f41f5f74
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
44 additions
and
1 deletion
+44
-1
storage/spider/spd_i_s.cc
storage/spider/spd_i_s.cc
+19
-0
storage/spider/spd_include.h
storage/spider/spd_include.h
+1
-1
storage/spider/spd_param.cc
storage/spider/spd_param.cc
+24
-0
No files found.
storage/spider/spd_i_s.cc
View file @
d3e54d2b
...
...
@@ -146,3 +146,22 @@ struct st_mysql_plugin spider_i_s_alloc_mem =
0
,
#endif
};
#ifdef MARIADB_BASE_VERSION
struct
st_maria_plugin
spider_i_s_alloc_mem_maria
=
{
MYSQL_INFORMATION_SCHEMA_PLUGIN
,
&
spider_i_s_info
,
"SPIDER_ALLOC_MEM"
,
"Kentoku Shiba"
,
"Spider memory allocating viewer"
,
PLUGIN_LICENSE_GPL
,
spider_i_s_alloc_mem_init
,
spider_i_s_alloc_mem_deinit
,
0x0001
,
NULL
,
NULL
,
"0.1"
,
MariaDB_PLUGIN_MATURITY_BETA
,
};
#endif
storage/spider/spd_include.h
View file @
d3e54d2b
...
...
@@ -13,7 +13,7 @@
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
#define SPIDER_DETAIL_VERSION "3.1.1
4
"
#define SPIDER_DETAIL_VERSION "3.1.1
5
"
#define SPIDER_HEX_VERSION 0x0301
#if MYSQL_VERSION_ID < 50500
...
...
storage/spider/spd_param.cc
View file @
d3e54d2b
...
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment