• Michael Widenius's avatar
    Added logging of all messages (also system warnings) one gets during a MyISAM... · 8b7a63b1
    Michael Widenius authored
    Added logging of all messages (also system warnings) one gets during a MyISAM recovery or auto-recovery.
    
    
    sql/mysqld.cc:
      Log errors if thd->log_all_errors is set
    sql/sql_class.cc:
      Add log_all_errors
    sql/sql_class.h:
      Add log_all_errors
    storage/myisam/ha_myisam.cc:
      Write db and table name for all logged errors
      Log errors also during auto_recovery
      During auto_recovery, set thd->log_all_errors if log_warnings >2 to ensure that system errors are also logged to file
    8b7a63b1
sql_class.cc 117 KB