List:Commits« Previous MessageNext Message »
From:Alexander Nozdrin Date:February 11 2008 11:05am
Subject:bk commit into 5.1 tree (anozdrin:1.2544)
View as plain text  
Below is the list of changes that have just been committed into a local
5.1 repository of anozdrin.  When anozdrin does a push these changes
will be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html

ChangeSet@stripped, 2008-02-11 14:05:27+03:00, anozdrin@quad. +1 -0
  Disabling declaration of debug variable for non-debug builds.
  
  (originally from Mats)

  sql/slave.cc@stripped, 2008-02-11 14:05:26+03:00, anozdrin@quad. +2 -0
    Disabling declaration in non-debug builds.

diff -Nrup a/sql/slave.cc b/sql/slave.cc
--- a/sql/slave.cc	2008-02-11 14:04:29 +03:00
+++ b/sql/slave.cc	2008-02-11 14:05:26 +03:00
@@ -1896,7 +1896,9 @@ int apply_event_and_update_pos(Log_event
     if (!rli->is_fake)
 #endif
     {
+#ifndef DBUG_OFF
       char buf[22];
+#endif
       DBUG_PRINT("info", ("update_pos error = %d", error));
       DBUG_PRINT("info", ("group %s %s",
                           llstr(rli->group_relay_log_pos, buf),
Thread
bk commit into 5.1 tree (anozdrin:1.2544)Alexander Nozdrin11 Feb