diff options
author | unknown <svoj@mysql.com/april.(none)> | 2006-12-05 18:05:53 +0400 |
---|---|---|
committer | unknown <svoj@mysql.com/april.(none)> | 2006-12-05 18:05:53 +0400 |
commit | 8b31d3dd25e648d1af178b8f25dc697975f04c5d (patch) | |
tree | 5dd27930149dff224672c8ac8e1c4e15a0929794 /include/mysql | |
parent | 1b18562059806ba4aab585ff2cb540e88bb6c7c8 (diff) | |
download | mariadb-git-8b31d3dd25e648d1af178b8f25dc697975f04c5d.tar.gz |
BUG#23255 - Missing version parameter in plugin declaration example
Plugin interface version was not raised properly after incompatible
changes to plugin structure were introduced.
Fixed plugin interface version according to worklog 2761.
include/mysql/plugin.h:
Fixed plugin interface version according to worklog 2761.
Diffstat (limited to 'include/mysql')
-rw-r--r-- | include/mysql/plugin.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/mysql/plugin.h b/include/mysql/plugin.h index 1385bb502bb..d5c4a975602 100644 --- a/include/mysql/plugin.h +++ b/include/mysql/plugin.h @@ -21,7 +21,7 @@ Plugin API. Common for all plugin types. */ -#define MYSQL_PLUGIN_INTERFACE_VERSION 0x0002 +#define MYSQL_PLUGIN_INTERFACE_VERSION 0x0100 /* The allowable types of plugins @@ -98,7 +98,7 @@ struct st_mysql_plugin const char *name; /* plugin name */ const char *author; /* plugin author (for SHOW PLUGINS) */ const char *descr; /* general descriptive text (for SHOW PLUGINS ) */ - int license; /* the plugin type (a MYSQL_XXX_PLUGIN value) */ + int license; /* the plugin license (PLUGIN_LICENSE_XXX) */ int (*init)(void *); /* the function to invoke when plugin is loaded */ int (*deinit)(void *);/* the function to invoke when plugin is unloaded */ unsigned int version; /* plugin version (for SHOW PLUGINS) */ |