summaryrefslogtreecommitdiff
path: root/include/mysql/plugin.h
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2015-03-04 10:13:06 +0100
committerSergei Golubchik <serg@mariadb.org>2015-03-07 13:27:56 +0100
commit18feb62feeb833494d003615861b9c78ec008a90 (patch)
tree027bbe23d5773e69c1202724423620736ecabcc2 /include/mysql/plugin.h
parent20cacb00647cf4e5e170338363f3f09cf2f5b2e6 (diff)
downloadmariadb-git-18feb62feeb833494d003615861b9c78ec008a90.tar.gz
MDEV-6819 st_mysql_show_var::value should be void* not char*
Diffstat (limited to 'include/mysql/plugin.h')
-rw-r--r--include/mysql/plugin.h4
1 files changed, 2 insertions, 2 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);
/*