• Michael Widenius's avatar
    Applied Antony T Curtis patch for declaring many CHARSET objects as const · f83113df
    Michael Widenius authored
    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 t...
    f83113df
select.c 8.68 KB