From 18feb62feeb833494d003615861b9c78ec008a90 Mon Sep 17 00:00:00 2001 From: Sergei Golubchik Date: Wed, 4 Mar 2015 10:13:06 +0100 Subject: MDEV-6819 st_mysql_show_var::value should be void* not char* --- include/mysql/plugin.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/mysql/plugin.h') 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); /* -- cgit v1.2.1