1
0
mirror of https://github.com/MariaDB/server.git synced 2026-01-06 05:22:24 +03:00
Files
mariadb/sql
unknown 915bdfbea8 Bug #2717: include/my_global.h mis-defines __attribute__
Fix when __attribute__() is stubbed out, add ATTRIBUTE_FORMAT() for specifying
  __attribute__((format(...))) safely, make more use of the format attribute,
  and fix some of the warnings that this turns up (plus a bonus unrelated one).


include/m_ctype.h:
  Add ATTRIBUTE_FORMAT to printf-like functions.
include/m_string.h:
  Add ATTRIBUTE_FORMAT to my_snprintf() declaration.
include/my_global.h:
  Fix neutering of __attribute__() on old versions of GCC and non-GCC compilers.
  Add ATTRIBUTE_FORMAT() macro for setting __attribute_((format(...)), since it
  is available from different versions of gcc and g++.
include/my_sys.h:
  Add ATTRIBUTE_FORMAT() to my_printf_error declaration
sql/item_subselect.cc:
  Silence warning about members being initialized out-of-order
sql/item_timefunc.cc:
  Fix format specifier in snprintf() calls with milliseconds
sql/mysql_priv.h:
  Add ATTRIBUTE_FORMAT to printf-like functions.
sql/mysqld.cc:
  Fix various format specifiers
  Make sure that method_conv is always set by myisam_stats_method
sql/opt_range.cc:
  Cast pointers to correct type for %lx
sql/set_var.cc:
  Fix __attribute__((unused)) (missing inner set of parens)
sql/slave.cc:
  Fix format specifier
sql/slave.h:
  Add ATTRIBUTE_FORMAT to slave_print_error() declaration.
sql/sql_acl.cc:
  Fix number of  arguments passed for formatting, and fix acl_host_or_ip being
  passed instead of just the hostname.
sql/sql_class.h:
  Add ATTRIBUTE_FORMAT to MYSQL_LOG::write().
2006-08-17 12:25:40 -07:00
..
2005-09-30 14:03:55 +02:00
2006-07-24 19:18:30 +02:00
2006-07-19 15:55:04 +02:00
2005-09-12 18:48:17 +03:00
2004-09-01 04:12:09 +03:00
2005-08-30 02:46:03 +02:00
2006-05-15 17:25:37 +04:00
2005-06-21 04:24:21 -07:00
2006-06-22 15:50:15 -07:00
2006-06-17 02:11:12 +04:00
2005-03-17 10:59:25 +04:00
2006-07-04 17:40:40 +05:00
2004-10-06 19:14:33 +03:00
2006-07-04 17:40:40 +05:00
2005-11-01 13:00:02 +02:00
2006-07-04 17:40:40 +05:00
2004-12-14 03:36:19 +03:00
2006-05-06 23:48:13 -07:00
2005-05-18 22:14:08 +02:00
2006-05-04 00:03:58 +05:00
2006-04-20 22:15:38 -07:00
2006-04-20 22:15:38 -07:00
2004-11-08 01:13:54 +02:00
2005-12-13 18:30:10 +02:00
2005-07-27 13:05:30 +03:00