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
c5bf0550
Commit
c5bf0550
authored
Oct 18, 2014
by
Rich Prohaska
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
DB-742 combine mysql and mariadb plugin declarations
parent
cfbe8342
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
34 additions
and
117 deletions
+34
-117
storage/tokudb/hatoku_hton.cc
storage/tokudb/hatoku_hton.cc
+34
-117
No files found.
storage/tokudb/hatoku_hton.cc
View file @
c5bf0550
...
...
@@ -2380,7 +2380,11 @@ static void tokudb_backtrace(void) {
#define TOKUDB_PLUGIN_VERSION 0
#endif
#ifdef MARIA_PLUGIN_INTERFACE_VERSION
maria_declare_plugin
(
tokudb
)
#else
mysql_declare_plugin
(
tokudb
)
#endif
{
MYSQL_STORAGE_ENGINE_PLUGIN
,
&
tokudb_storage_engine
,
...
...
@@ -2393,8 +2397,11 @@ mysql_declare_plugin(tokudb)
TOKUDB_PLUGIN_VERSION
,
toku_global_status_variables_export
,
/* status variables */
tokudb_system_variables
,
/* system variables */
#ifdef MARIA_PLUGIN_INTERFACE_VERSION
tokudb_version
,
MariaDB_PLUGIN_MATURITY_STABLE
/* maturity */
#else
NULL
,
/* config options */
#if MYSQL_VERSION_ID >= 50521
0
,
/* flags */
#endif
},
...
...
@@ -2410,8 +2417,11 @@ mysql_declare_plugin(tokudb)
TOKUDB_PLUGIN_VERSION
,
NULL
,
/* status variables */
NULL
,
/* system variables */
#ifdef MARIA_PLUGIN_INTERFACE_VERSION
tokudb_version
,
MariaDB_PLUGIN_MATURITY_STABLE
/* maturity */
#else
NULL
,
/* config options */
#if MYSQL_VERSION_ID >= 50521
0
,
/* flags */
#endif
},
...
...
@@ -2427,8 +2437,11 @@ mysql_declare_plugin(tokudb)
TOKUDB_PLUGIN_VERSION
,
NULL
,
/* status variables */
NULL
,
/* system variables */
#ifdef MARIA_PLUGIN_INTERFACE_VERSION
tokudb_version
,
MariaDB_PLUGIN_MATURITY_STABLE
/* maturity */
#else
NULL
,
/* config options */
#if MYSQL_VERSION_ID >= 50521
0
,
/* flags */
#endif
},
...
...
@@ -2444,8 +2457,11 @@ mysql_declare_plugin(tokudb)
TOKUDB_PLUGIN_VERSION
,
NULL
,
/* status variables */
NULL
,
/* system variables */
#ifdef MARIA_PLUGIN_INTERFACE_VERSION
tokudb_version
,
MariaDB_PLUGIN_MATURITY_STABLE
/* maturity */
#else
NULL
,
/* config options */
#if MYSQL_VERSION_ID >= 50521
0
,
/* flags */
#endif
},
...
...
@@ -2461,8 +2477,11 @@ mysql_declare_plugin(tokudb)
TOKUDB_PLUGIN_VERSION
,
NULL
,
/* status variables */
NULL
,
/* system variables */
#ifdef MARIA_PLUGIN_INTERFACE_VERSION
tokudb_version
,
MariaDB_PLUGIN_MATURITY_STABLE
/* maturity */
#else
NULL
,
/* config options */
#if MYSQL_VERSION_ID >= 50521
0
,
/* flags */
#endif
},
...
...
@@ -2478,8 +2497,11 @@ mysql_declare_plugin(tokudb)
TOKUDB_PLUGIN_VERSION
,
NULL
,
/* status variables */
NULL
,
/* system variables */
#ifdef MARIA_PLUGIN_INTERFACE_VERSION
tokudb_version
,
MariaDB_PLUGIN_MATURITY_STABLE
/* maturity */
#else
NULL
,
/* config options */
#if MYSQL_VERSION_ID >= 50521
0
,
/* flags */
#endif
},
...
...
@@ -2495,121 +2517,16 @@ mysql_declare_plugin(tokudb)
TOKUDB_PLUGIN_VERSION
,
NULL
,
/* status variables */
NULL
,
/* system variables */
#ifdef MARIA_PLUGIN_INTERFACE_VERSION
tokudb_version
,
MariaDB_PLUGIN_MATURITY_STABLE
/* maturity */
#else
NULL
,
/* config options */
#if MYSQL_VERSION_ID >= 50521
0
,
/* flags */
#endif
}
mysql_declare_plugin_end
;
#ifdef MARIA_PLUGIN_INTERFACE_VERSION
maria_declare_plugin
(
tokudb
)
{
MYSQL_STORAGE_ENGINE_PLUGIN
,
&
tokudb_storage_engine
,
tokudb_hton_name
,
"Tokutek Inc"
,
"Tokutek TokuDB Storage Engine with Fractal Tree(tm) Technology"
,
PLUGIN_LICENSE_GPL
,
tokudb_init_func
,
/* plugin init */
tokudb_done_func
,
/* plugin deinit */
TOKUDB_PLUGIN_VERSION
,
toku_global_status_variables_export
,
/* status variables */
tokudb_system_variables
,
/* system variables */
tokudb_version
,
MariaDB_PLUGIN_MATURITY_STABLE
/* maturity */
},
{
MYSQL_INFORMATION_SCHEMA_PLUGIN
,
&
tokudb_trx_information_schema
,
"TokuDB_trx"
,
"Tokutek Inc"
,
"Tokutek TokuDB Storage Engine with Fractal Tree(tm) Technology"
,
PLUGIN_LICENSE_GPL
,
tokudb_trx_init
,
/* plugin init */
tokudb_trx_done
,
/* plugin deinit */
TOKUDB_PLUGIN_VERSION
,
NULL
,
/* status variables */
NULL
,
/* system variables */
tokudb_version
,
MariaDB_PLUGIN_MATURITY_STABLE
/* maturity */
},
{
MYSQL_INFORMATION_SCHEMA_PLUGIN
,
&
tokudb_lock_waits_information_schema
,
"TokuDB_lock_waits"
,
"Tokutek Inc"
,
"Tokutek TokuDB Storage Engine with Fractal Tree(tm) Technology"
,
PLUGIN_LICENSE_GPL
,
tokudb_lock_waits_init
,
/* plugin init */
tokudb_lock_waits_done
,
/* plugin deinit */
TOKUDB_PLUGIN_VERSION
,
NULL
,
/* status variables */
NULL
,
/* system variables */
tokudb_version
,
MariaDB_PLUGIN_MATURITY_STABLE
/* maturity */
},
{
MYSQL_INFORMATION_SCHEMA_PLUGIN
,
&
tokudb_locks_information_schema
,
"TokuDB_locks"
,
"Tokutek Inc"
,
"Tokutek TokuDB Storage Engine with Fractal Tree(tm) Technology"
,
PLUGIN_LICENSE_GPL
,
tokudb_locks_init
,
/* plugin init */
tokudb_locks_done
,
/* plugin deinit */
TOKUDB_PLUGIN_VERSION
,
NULL
,
/* status variables */
NULL
,
/* system variables */
tokudb_version
,
MariaDB_PLUGIN_MATURITY_STABLE
/* maturity */
},
{
MYSQL_INFORMATION_SCHEMA_PLUGIN
,
&
tokudb_file_map_information_schema
,
"TokuDB_file_map"
,
"Tokutek Inc"
,
"Tokutek TokuDB Storage Engine with Fractal Tree(tm) Technology"
,
PLUGIN_LICENSE_GPL
,
tokudb_file_map_init
,
/* plugin init */
tokudb_file_map_done
,
/* plugin deinit */
TOKUDB_PLUGIN_VERSION
,
NULL
,
/* status variables */
NULL
,
/* system variables */
tokudb_version
,
MariaDB_PLUGIN_MATURITY_STABLE
/* maturity */
},
{
MYSQL_INFORMATION_SCHEMA_PLUGIN
,
&
tokudb_fractal_tree_info_information_schema
,
"TokuDB_fractal_tree_info"
,
"Tokutek Inc"
,
"Tokutek TokuDB Storage Engine with Fractal Tree(tm) Technology"
,
PLUGIN_LICENSE_GPL
,
tokudb_fractal_tree_info_init
,
/* plugin init */
tokudb_fractal_tree_info_done
,
/* plugin deinit */
TOKUDB_PLUGIN_VERSION
,
NULL
,
/* status variables */
NULL
,
/* system variables */
tokudb_version
,
MariaDB_PLUGIN_MATURITY_STABLE
/* maturity */
},
{
MYSQL_INFORMATION_SCHEMA_PLUGIN
,
&
tokudb_fractal_tree_block_map_information_schema
,
"TokuDB_fractal_tree_block_map"
,
"Tokutek Inc"
,
"Tokutek TokuDB Storage Engine with Fractal Tree(tm) Technology"
,
PLUGIN_LICENSE_GPL
,
tokudb_fractal_tree_block_map_init
,
/* plugin init */
tokudb_fractal_tree_block_map_done
,
/* plugin deinit */
TOKUDB_PLUGIN_VERSION
,
NULL
,
/* status variables */
NULL
,
/* system variables */
tokudb_version
,
MariaDB_PLUGIN_MATURITY_STABLE
/* maturity */
}
maria_declare_plugin_end
;
#else
mysql_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