diff options
author | Sergei Golubchik <serg@mariadb.org> | 2015-03-04 10:13:06 +0100 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2015-03-07 13:27:56 +0100 |
commit | 18feb62feeb833494d003615861b9c78ec008a90 (patch) | |
tree | 027bbe23d5773e69c1202724423620736ecabcc2 /include/mysql | |
parent | 20cacb00647cf4e5e170338363f3f09cf2f5b2e6 (diff) | |
download | mariadb-git-18feb62feeb833494d003615861b9c78ec008a90.tar.gz |
MDEV-6819 st_mysql_show_var::value should be void* not char*
Diffstat (limited to 'include/mysql')
-rw-r--r-- | include/mysql/plugin.h | 4 | ||||
-rw-r--r-- | include/mysql/plugin_audit.h.pp | 4 | ||||
-rw-r--r-- | include/mysql/plugin_auth.h.pp | 4 | ||||
-rw-r--r-- | include/mysql/plugin_encryption_key_management.h.pp | 4 | ||||
-rw-r--r-- | include/mysql/plugin_ftparser.h.pp | 4 | ||||
-rw-r--r-- | include/mysql/plugin_password_validation.h.pp | 4 |
6 files changed, 12 insertions, 12 deletions
diff --git a/include/mysql/plugin.h b/include/mysql/plugin.h index 4a27527b565..6a4e5448fa9 100644 --- a/include/mysql/plugin.h +++ b/include/mysql/plugin.h @@ -190,12 +190,12 @@ enum enum_var_type struct st_mysql_show_var { const char *name; - char *value; + void *value; enum enum_mysql_show_type type; }; #define SHOW_VAR_FUNC_BUFF_SIZE (256 * sizeof(void*)) -typedef int (*mysql_show_var_func)(MYSQL_THD, struct st_mysql_show_var*, char *, enum enum_var_type); +typedef int (*mysql_show_var_func)(MYSQL_THD, struct st_mysql_show_var*, void *, enum enum_var_type); /* diff --git a/include/mysql/plugin_audit.h.pp b/include/mysql/plugin_audit.h.pp index 65406219dc8..8a04186ff77 100644 --- a/include/mysql/plugin_audit.h.pp +++ b/include/mysql/plugin_audit.h.pp @@ -231,10 +231,10 @@ enum enum_var_type }; struct st_mysql_show_var { const char *name; - char *value; + void *value; enum enum_mysql_show_type type; }; -typedef int (*mysql_show_var_func)(void*, struct st_mysql_show_var*, char *, enum enum_var_type); +typedef int (*mysql_show_var_func)(void*, struct st_mysql_show_var*, void *, enum enum_var_type); struct st_mysql_sys_var; struct st_mysql_value; typedef int (*mysql_var_check_func)(void* thd, diff --git a/include/mysql/plugin_auth.h.pp b/include/mysql/plugin_auth.h.pp index ad694730330..8fbd7cd38c2 100644 --- a/include/mysql/plugin_auth.h.pp +++ b/include/mysql/plugin_auth.h.pp @@ -231,10 +231,10 @@ enum enum_var_type }; struct st_mysql_show_var { const char *name; - char *value; + void *value; enum enum_mysql_show_type type; }; -typedef int (*mysql_show_var_func)(void*, struct st_mysql_show_var*, char *, enum enum_var_type); +typedef int (*mysql_show_var_func)(void*, struct st_mysql_show_var*, void *, enum enum_var_type); struct st_mysql_sys_var; struct st_mysql_value; typedef int (*mysql_var_check_func)(void* thd, diff --git a/include/mysql/plugin_encryption_key_management.h.pp b/include/mysql/plugin_encryption_key_management.h.pp index c32cba045ec..fc162e143c6 100644 --- a/include/mysql/plugin_encryption_key_management.h.pp +++ b/include/mysql/plugin_encryption_key_management.h.pp @@ -231,10 +231,10 @@ enum enum_var_type }; struct st_mysql_show_var { const char *name; - char *value; + void *value; enum enum_mysql_show_type type; }; -typedef int (*mysql_show_var_func)(void*, struct st_mysql_show_var*, char *, enum enum_var_type); +typedef int (*mysql_show_var_func)(void*, struct st_mysql_show_var*, void *, enum enum_var_type); struct st_mysql_sys_var; struct st_mysql_value; typedef int (*mysql_var_check_func)(void* thd, diff --git a/include/mysql/plugin_ftparser.h.pp b/include/mysql/plugin_ftparser.h.pp index 71045c170d6..16374df7936 100644 --- a/include/mysql/plugin_ftparser.h.pp +++ b/include/mysql/plugin_ftparser.h.pp @@ -231,10 +231,10 @@ enum enum_var_type }; struct st_mysql_show_var { const char *name; - char *value; + void *value; enum enum_mysql_show_type type; }; -typedef int (*mysql_show_var_func)(void*, struct st_mysql_show_var*, char *, enum enum_var_type); +typedef int (*mysql_show_var_func)(void*, struct st_mysql_show_var*, void *, enum enum_var_type); struct st_mysql_sys_var; struct st_mysql_value; typedef int (*mysql_var_check_func)(void* thd, diff --git a/include/mysql/plugin_password_validation.h.pp b/include/mysql/plugin_password_validation.h.pp index ac685de3615..2902a368985 100644 --- a/include/mysql/plugin_password_validation.h.pp +++ b/include/mysql/plugin_password_validation.h.pp @@ -231,10 +231,10 @@ enum enum_var_type }; struct st_mysql_show_var { const char *name; - char *value; + void *value; enum enum_mysql_show_type type; }; -typedef int (*mysql_show_var_func)(void*, struct st_mysql_show_var*, char *, enum enum_var_type); +typedef int (*mysql_show_var_func)(void*, struct st_mysql_show_var*, void *, enum enum_var_type); struct st_mysql_sys_var; struct st_mysql_value; typedef int (*mysql_var_check_func)(void* thd, |