diff options
author | unknown <serg@janus.mylan> | 2007-04-13 19:23:02 +0200 |
---|---|---|
committer | unknown <serg@janus.mylan> | 2007-04-13 19:23:02 +0200 |
commit | bf2aaad97d0ff65a4a79f9012b4443d4d6dbd6e8 (patch) | |
tree | c318326d7c94a04b34753308fce3a0bb1b38f53e /include | |
parent | 1e6bd48ccbd725c298453cf6c7645b430529fe43 (diff) | |
download | mariadb-git-bf2aaad97d0ff65a4a79f9012b4443d4d6dbd6e8.tar.gz |
wl#2936 - fixing problems
include/mysql/plugin.h:
warning. no int/realsize
mysys/my_getopt.c:
combination of prefixes (e.g. --loose-skip-) didn't work
sql/event_queue.cc:
warning
sql/handler.cc:
assert
sql/handler.h:
comment
sql/item_create.cc:
warnings
sql/log.cc:
warnings
sql/mysqld.cc:
wl#2936 - fixing problems (memory leak in load_defaults,
garbage in opt_[slow_]logname
sql/partition_element.h:
warnings
sql/rpl_utility.h:
warnings
sql/set_var.cc:
comment
sql/set_var.h:
warnings
sql/sql_class.cc:
warnings
sql/sql_parse.cc:
warnings
sql/sql_plugin.cc:
wl#2936 - fixing problems: portability, coding style,
reporting of spurious errors, crashes, incorrect help output
storage/example/ha_example.cc:
comment
storage/innobase/handler/ha_innodb.cc:
wl#2936 - fixing problems (crash)
Diffstat (limited to 'include')
-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 |