1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

MDEV-6819 st_mysql_show_var::value should be void* not char*

This commit is contained in:
Sergei Golubchik
2015-03-04 10:13:06 +01:00
parent 20cacb0064
commit 18feb62fee
8 changed files with 183 additions and 180 deletions

View File

@ -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);
/*