List:Commits« Previous MessageNext Message »
From:Luis Soares Date:May 4 2009 9:21am
Subject:bzr commit into mysql-6.0-rpl branch (luis.soares:2849) Bug#43647
View as plain text  
#At file:///home/lsoares/Workspace/mysql-server/bugfix/b43647/6.0-rpl/ based on revid:alik@stripped

 2849 Luis Soares	2009-05-04
      BUG#43647: Debug message "[Note] new_mode 0" floods slave error log
      
      There was a print out (through sql_print_warning) inside
      handle_slave_sql loop, right before the exec_relay_log_event. This
      would output several entries in mysqld error log, eventually causing
      cause unexpected exhaustion of disk space. Output line sample:
      
      "090309 10:25:32 [Note] new_mode 0".
      
      This patch fixes this by removing the call to sql_print_warning.

    modified:
      sql/slave.cc
=== modified file 'sql/slave.cc'
--- a/sql/slave.cc	2009-04-13 13:24:28 +0000
+++ b/sql/slave.cc	2009-05-04 09:21:31 +0000
@@ -3010,7 +3010,6 @@ Slave SQL thread aborted. Can't execute 
     DBUG_ASSERT(rli->info_thd == thd);
     THD_CHECK_SENTRY(thd);
 
-    sql_print_information("new_mode %u", thd->variables.new_mode);
     if (exec_relay_log_event(thd,rli))
     {
       DBUG_PRINT("info", ("exec_relay_log_event() failed"));


Attachment: [text/bzr-bundle] bzr/luis.soares@sun.com-20090504092131-cz6y12bgtk5crc6i.bundle
Thread
bzr commit into mysql-6.0-rpl branch (luis.soares:2849) Bug#43647Luis Soares4 May
  • Re: bzr commit into mysql-6.0-rpl branch (luis.soares:2849) Bug#43647He Zhenxing4 May