diff options
author | serg@janus.mylan <> | 2007-04-13 19:23:02 +0200 |
---|---|---|
committer | serg@janus.mylan <> | 2007-04-13 19:23:02 +0200 |
commit | 3ecbb5a4437a1ce8be7a5c83354ff698846602cc (patch) | |
tree | c318326d7c94a04b34753308fce3a0bb1b38f53e /include/mysql | |
parent | 48f3ec85700eef4100fe0357a2e6bfaa9460f3f9 (diff) | |
download | mariadb-git-3ecbb5a4437a1ce8be7a5c83354ff698846602cc.tar.gz |
wl#2936 - fixing problems
Diffstat (limited to 'include/mysql')
-rw-r--r-- | include/mysql/plugin.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/mysql/plugin.h b/include/mysql/plugin.h index ef4392a485c..d15302dc256 100644 --- a/include/mysql/plugin.h +++ b/include/mysql/plugin.h @@ -632,8 +632,8 @@ struct st_mysql_value { int (*value_type)(struct st_mysql_value *); const char *(*val_str)(struct st_mysql_value *, char *buffer, int *length); - int (*val_real)(struct st_mysql_value *, void *realbuf, int realsize); - int (*val_int)(struct st_mysql_value *, void *intbuf, int intsize); + int (*val_real)(struct st_mysql_value *, double *realbuf); + int (*val_int)(struct st_mysql_value *, long long *intbuf); }; @@ -651,8 +651,8 @@ long long thd_test_options(const MYSQL_THD thd, long long test_options); int thd_sql_command(const MYSQL_THD thd); const char *thd_proc_info(MYSQL_THD thd, const char *info); void **thd_ha_data(const MYSQL_THD thd, const struct handlerton *hton); -char *thd_security_context(MYSQL_THD thd, char *buffer, int length, - int max_query_len); +char *thd_security_context(MYSQL_THD thd, char *buffer, unsigned int length, + unsigned int max_query_len); #ifdef __cplusplus |