• unknown's avatar
    BUG# 4466 - Nothing in .err when mysql service ends because of malformed my.ini options · 992baee9
    unknown authored
    mysqld.cc:
      Changed option_error_reporter to match new function header that includes LOGLEVEL enum
    mysql_priv.h:
      Removed the MY_ERROR style bitmask.  Changed function headers to use new LOGLEVEL enum
    log.cc:
      Changed print_buffer_to_log to print_buffer_to_file.  Remove the timestamp bool and now all log entries written to stderr are timestamped.  Removed some unused commented code.  changed to use the new LOGLEVEL enum.  
    my_getopt.c:
      Changed functions to use the new LOGLEVEL enum and changed the included error reporter to be default_reporter.  This reporter is used in handle_options if a reporter is not given
    my_getopt.h:
      changed typedefs to use better naming convention.  Moved error bitmask into the LOGLEVEL enum and included it here.
    
    
    include/my_getopt.h:
      changed typedefs to use better naming convention.  Moved error bitmask into the LOGLEVEL enum and included it here.
    mysys/my_getopt.c:
      Changed functions to use the new LOGLEVEL enum and changed the included error reporter to be default_reporter.  This reporter is used in handle_options if a reporter is not given
    sql/log.cc:
      Changed print_buffer_to_log to print_buffer_to_file.  Remove the timestamp bool and now all log entries written to stderr are timestamped.  Removed some unused commented code.  changed to use the new LOGLEVEL enum.
    sql/mysql_priv.h:
      Removed the MY_ERROR style bitmask.  Changed function headers to use new LOGLEVEL enum
    sql/mysqld.cc:
      Changed option_error_reporter to match new function header that includes LOGLEVEL enum
    992baee9
my_getopt.h 2.81 KB