1
0
mirror of https://github.com/MariaDB/server.git synced 2025-05-28 13:01:41 +03:00
Michael Widenius f83113df07 Applied Antony T Curtis patch for declaring many CHARSET objects as const
Removed compiler warnings

extra/libevent/epoll.c:
  Removed compiler warnings
extra/libevent/evbuffer.c:
  Removed compiler warnings
extra/libevent/event.c:
  Removed compiler warnings
extra/libevent/select.c:
  Removed compiler warnings
extra/libevent/signal.c:
  Removed compiler warnings
include/m_ctype.h:
  Define CHARSET_INFO, MY_CHARSET_HANDLER, MY_COLLATION_HANDLER, MY_UNICASE_INFO, MY_UNI_CTYPE and MY_UNI_IDX as const structures.
  Declare that pointers point to const data
include/m_string.h:
  Declare that pointers point to const data
include/my_sys.h:
  Redefine variables and function prototypes
include/mysql.h:
  Declare charset as const
include/mysql.h.pp:
  Declare charset as const
include/mysql/plugin.h:
  Declare charset as const
include/mysql/plugin.h.pp:
  Declare charset as const
mysys/charset-def.c:
  Charset can't be of type CHARSET_INFO as they are changed when they are initialized.
mysys/charset.c:
  Functions that change CHARSET_INFO must use 'struct charset_info_st'
  Add temporary variables to not have to change all_charsets[] (Which now is const)
sql-common/client.c:
  Added cast to const
sql/item_cmpfunc.h:
  Added cast to avoid compiler error.
sql/sql_class.cc:
  Added cast to const
sql/sql_lex.cc:
  Added cast to const
storage/maria/ma_ft_boolean_search.c:
  Added cast to avoid compiler error.
storage/maria/ma_ft_parser.c:
  Added cast to avoid compiler error.
storage/maria/ma_search.c:
  Added cast to const
storage/myisam/ft_boolean_search.c:
  Added cast to avoid compiler error
storage/myisam/ft_parser.c:
  Added cast to avoid compiler error
storage/myisam/mi_search.c:
  Added cast to const
storage/pbxt/src/datadic_xt.cc:
  Added cast to const
storage/pbxt/src/ha_pbxt.cc:
  Added cast to const
  Removed compiler warning by changing prototype of XTThreadPtr()
storage/pbxt/src/myxt_xt.h:
  Character sets should be const
storage/pbxt/src/xt_defs.h:
  Character sets should be const
storage/xtradb/btr/btr0cur.c:
  Removed compiler warning
strings/conf_to_src.c:
  Added const
  Functions that change CHARSET_INFO must use 'struct charset_info_st'
strings/ctype-big5.c:
  Made arrays const
strings/ctype-bin.c:
  Made arrays const
strings/ctype-cp932.c:
  Made arrays const
strings/ctype-czech.c:
  Made arrays const
strings/ctype-euc_kr.c:
  Made arrays const
strings/ctype-eucjpms.c:
  Made arrays const
strings/ctype-extra.c:
  Made arrays const
strings/ctype-gb2312.c:
  Made arrays const
strings/ctype-gbk.c:
  Made arrays const
strings/ctype-latin1.c:
  Made arrays const
strings/ctype-mb.c:
  Made arrays const
strings/ctype-simple.c:
  Made arrays const
strings/ctype-sjis.c:
  Made arrays const
strings/ctype-tis620.c:
  Made arrays const
strings/ctype-uca.c:
  Made arrays const
strings/ctype-ucs2.c:
  Made arrays const
strings/ctype-ujis.c:
  Made arrays const
strings/ctype-utf8.c:
  Made arrays const
strings/ctype-win1250ch.c:
  Made arrays const
strings/ctype.c:
  Made arrays const
  Added cast to const
  Functions that change CHARSET_INFO must use 'struct charset_info_st'
strings/int2str.c:
  Added cast to const
2010-01-06 21:20:16 +02:00
..
2010-01-04 19:54:42 +02:00
2009-09-29 17:38:40 +02:00
2009-12-08 23:47:54 +02:00
2009-09-08 00:50:10 +04:00
2009-12-08 23:47:54 +02:00
2009-12-08 23:47:54 +02:00
2009-12-08 23:47:54 +02:00
2009-12-08 23:47:54 +02:00
2010-01-04 19:54:42 +02:00
2009-12-08 23:47:54 +02:00
2007-10-11 13:29:09 -04:00
2009-12-08 23:47:54 +02:00
2009-12-08 23:47:54 +02:00
2009-10-24 09:57:31 +03:00
2009-12-08 23:47:54 +02:00
2009-12-08 23:47:54 +02:00
2009-12-08 23:47:54 +02:00
2009-12-09 11:14:19 +02:00
2009-10-15 23:38:29 +02:00
2009-12-08 23:47:54 +02:00
2009-12-08 23:47:54 +02:00
2009-12-08 23:47:54 +02:00
2010-01-04 23:53:10 +02:00
2007-10-11 13:29:09 -04:00
2009-12-08 23:47:54 +02:00
2007-10-16 16:11:50 -04:00
2010-01-04 19:54:42 +02:00
2009-07-28 22:44:28 +04:00
2008-11-22 01:10:38 +01:00
2008-11-22 01:10:38 +01:00
2009-12-08 23:47:54 +02:00
2009-12-08 23:47:54 +02:00
2009-09-08 00:50:10 +04:00
2007-10-11 14:37:45 -04:00
2009-09-08 00:50:10 +04:00
2009-09-08 00:50:10 +04:00
2009-12-08 23:47:54 +02:00
2009-12-08 23:47:54 +02:00
2009-10-26 13:35:42 +02:00
2009-05-19 12:28:05 +03:00
2009-12-08 23:47:54 +02:00
2009-12-08 23:47:54 +02:00
2009-04-29 07:59:10 +05:00
2009-04-29 07:59:10 +05:00
2009-04-29 07:59:10 +05:00
2008-01-23 13:26:41 -07:00
2009-12-08 23:47:54 +02:00
2009-06-17 16:56:44 +02:00
2009-12-08 23:47:54 +02:00
2009-06-17 16:56:44 +02:00
2010-01-04 19:54:42 +02:00
2009-08-13 02:34:21 +04:00
2009-12-08 23:47:54 +02:00
2009-09-08 00:50:10 +04:00
2009-09-08 00:50:10 +04:00
2007-10-16 16:11:50 -04:00
2009-12-08 23:47:54 +02:00
2010-01-04 19:54:42 +02:00
2009-12-08 23:47:54 +02:00
2009-12-08 23:47:54 +02:00
2009-12-08 23:47:54 +02:00
2009-12-08 23:47:54 +02:00
2009-12-08 23:47:54 +02:00
2009-12-08 23:47:54 +02:00
2009-12-08 23:47:54 +02:00
2009-12-08 23:47:54 +02:00
2009-01-14 18:50:51 +04:00
2009-12-08 23:47:54 +02:00
2009-09-08 00:50:10 +04:00
2009-12-08 23:47:54 +02:00
2009-12-08 23:47:54 +02:00
2009-12-08 23:47:54 +02:00
2009-12-08 23:47:54 +02:00
2009-12-08 23:47:54 +02:00
2009-06-17 16:56:44 +02:00
2009-12-08 23:47:54 +02:00