List:Commits« Previous MessageNext Message »
From:Mats Kindahl Date:November 13 2007 9:43am
Subject:bk commit into 5.0 tree (mats:1.2553)
View as plain text  
Below is the list of changes that have just been committed into a local
5.0 repository of mats. When mats 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, 2007-11-13 09:43:29+01:00, mats@stripped +1 -0
  Elimination of warning for unused function code_name() in non-debug mode.

  sql/log_event.cc@stripped, 2007-11-13 09:43:25+01:00, mats@stripped +2
-0
    Elimination of warning for unused function code_name() in non-debug mode.

diff -Nrup a/sql/log_event.cc b/sql/log_event.cc
--- a/sql/log_event.cc	2007-11-13 09:01:39 +01:00
+++ b/sql/log_event.cc	2007-11-13 09:43:25 +01:00
@@ -1455,6 +1455,7 @@ static void copy_str_and_move(const char
 }
 
 
+#ifndef DBUG_OFF
 static char const *
 code_name(int code)
 {
@@ -1473,6 +1474,7 @@ code_name(int code)
   sprintf(buf, "CODE#%d", code);
   return buf;
 }
+#endif
 
 /**
    Macro to check that there is enough space to read from memory.
Thread
bk commit into 5.0 tree (mats:1.2553)Mats Kindahl13 Nov