List:Commits« Previous MessageNext Message »
From:Luis Soares Date:May 13 2009 10:54am
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-to-push/ based on revid:luis.soares@stripped

 2849 Luis Soares	2009-05-13
      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
      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-05-12 08:58:44 +0000
+++ b/sql/slave.cc	2009-05-13 10:54:44 +0000
@@ -3045,7 +3045,6 @@ log '%s' at position %s, relay log '%s' 
     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-20090513105444-0s2lu73ae38f2vcb.bundle
Thread
bzr commit into mysql-6.0-rpl branch (luis.soares:2849) Bug#43647Luis Soares13 May