diff options
author | unknown <monty@mysql.com> | 2006-06-23 02:49:19 +0300 |
---|---|---|
committer | unknown <monty@mysql.com> | 2006-06-23 02:49:19 +0300 |
commit | 7c14b927a74a7698c7914caaf6147ee94e08ae86 (patch) | |
tree | 58ab5561c26c742cf51ff01378a1d269f85b5637 /sql/set_var.cc | |
parent | f391d46499611f0c449c19d8215ffbf0edb5991f (diff) | |
download | mariadb-git-7c14b927a74a7698c7914caaf6147ee94e08ae86.tar.gz |
Remove compiler warnings
Fixed wrong table flags type in ndbcluster that caused previous commit to fail
client/mysqltest.c:
Portability fix
mysys/my_bitmap.c:
Remove compiler warning
mysys/my_handler.c:
Remove compiler warning
mysys/thr_lock.c:
Remove compiler warning
plugin/fulltext/plugin_example.c:
Remove compiler warning
sql/ha_ndbcluster.h:
Fixed wrong of handler flags (caused previous commit to fail)
sql/ha_ndbcluster_binlog.cc:
Remove compiler warning
sql/handler.cc:
Indentation cleanups
sql/mysql_priv.h:
Changed log_output_options to ulong to remove compiler warning (and wrong test on 64 bit machines)
sql/mysqld.cc:
Changed log_output_options to ulong to remove compiler warning (and wrong test on 64 bit machines)
Split initialization of variables of different types to remove compiler warning
sql/set_var.cc:
Fixed indentation
sql/set_var.h:
sys_var_log_output now takes a pointer to ulong
storage/archive/archive_test.c:
Remove compiler warning
Diffstat (limited to 'sql/set_var.cc')
-rw-r--r-- | sql/set_var.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/set_var.cc b/sql/set_var.cc index e6b0625f097..b0ecc7eccef 100644 --- a/sql/set_var.cc +++ b/sql/set_var.cc @@ -2724,7 +2724,8 @@ void sys_var_log_output::set_default(THD *thd, enum_var_type type) } -byte *sys_var_log_output::value_ptr(THD *thd, enum_var_type type, LEX_STRING *base) +byte *sys_var_log_output::value_ptr(THD *thd, enum_var_type type, + LEX_STRING *base) { char buff[256]; String tmp(buff, sizeof(buff), &my_charset_latin1); |