diff options
author | serg@janus.mylan <> | 2006-09-07 12:56:32 +0200 |
---|---|---|
committer | serg@janus.mylan <> | 2006-09-07 12:56:32 +0200 |
commit | e1db08e1daf4bc6f7d40c3afd6056242a960a4b8 (patch) | |
tree | 9901b297ca8f02175f27d3fd41eb168a944ede53 /include/mysql | |
parent | 1ac47c95135dfc7a733d5a6f11c08cbc341da33f (diff) | |
download | mariadb-git-e1db08e1daf4bc6f7d40c3afd6056242a960a4b8.tar.gz |
minor plugin api fixes:
remove #define __attribute__(A) from plugin.h
increase API version because placeholders were added
more robust definition of min_plugin_interface_version
Diffstat (limited to 'include/mysql')
-rw-r--r-- | include/mysql/plugin.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/include/mysql/plugin.h b/include/mysql/plugin.h index 739f7bc5fc6..417e949e83f 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 0x0001 +#define MYSQL_PLUGIN_INTERFACE_VERSION 0x0002 /* The allowable types of plugins @@ -31,10 +31,6 @@ #define MYSQL_FTPARSER_PLUGIN 2 /* Full-text parser plugin */ #define MYSQL_MAX_PLUGIN_TYPE_NUM 3 /* The number of plugin types */ -#if !defined(__attribute__) && (defined(__cplusplus) || !defined(__GNUC__) || __GNUC__ == 2 && __GNUC_MINOR__ < 8) -#define __attribute__(A) -#endif - /* Macros for beginning and ending plugin declarations. Between mysql_declare_plugin and mysql_declare_plugin_end there should |