Commit a60c748a authored by Rich Prohaska's avatar Rich Prohaska

DB-742 set the tokudb plugin version string for mariadb

parent 47cc57ce
...@@ -2273,7 +2273,6 @@ static int tokudb_locks_done(void *p) { ...@@ -2273,7 +2273,6 @@ static int tokudb_locks_done(void *p) {
} }
enum { TOKUDB_PLUGIN_VERSION = 0x0400 }; enum { TOKUDB_PLUGIN_VERSION = 0x0400 };
#define TOKUDB_PLUGIN_VERSION_STR "1024"
// Retrieves variables for information_schema.global_status. // Retrieves variables for information_schema.global_status.
// Names (columnname) are automatically converted to upper case, and prefixed with "TOKUDB_" // Names (columnname) are automatically converted to upper case, and prefixed with "TOKUDB_"
...@@ -2497,6 +2496,12 @@ mysql_declare_plugin_end; ...@@ -2497,6 +2496,12 @@ mysql_declare_plugin_end;
#ifdef MARIA_PLUGIN_INTERFACE_VERSION #ifdef MARIA_PLUGIN_INTERFACE_VERSION
#ifdef TOKUDB_VERSION
#define TOKUDB_PLUGIN_VERSION_STR TOKUDB_VERSION
#else
#define TOKUDB_PLUGIN_VERSION_STR NULL
#endif
maria_declare_plugin(tokudb) maria_declare_plugin(tokudb)
{ {
MYSQL_STORAGE_ENGINE_PLUGIN, MYSQL_STORAGE_ENGINE_PLUGIN,
......
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