List:Internals« Previous MessageNext Message »
From:Lars Thalmann Date:December 2 2005 11:29am
Subject:bk commit into 5.0 tree (lars:1.2036)
View as plain text  
Below is the list of changes that have just been committed into a local
5.0 repository of lthalmann. When lthalmann 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
  1.2036 05/12/02 11:29:43 lars@stripped +1 -0
  Bug fix: When running "mysqlbinlog --hexdump" any event with length 0 created an output
that could not be directly executed

  sql/log_event.cc
    1.200 05/12/02 11:29:35 lars@stripped +4 -1
    Bug fix: When running "mysqlbinlog --hexdump" any event with length 0 created an
output that could not be directly executed

# This is a BitKeeper patch.  What follows are the unified diffs for the
# set of deltas contained in the patch.  The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User:	lars
# Host:	dl145k.mysql.com
# Root:	/users/lthalmann/bk/mysql-5.0-hexdump

--- 1.199/sql/log_event.cc	2005-11-28 16:28:59 +01:00
+++ 1.200/sql/log_event.cc	2005-12-02 11:29:35 +01:00
@@ -941,12 +941,15 @@
     *c= '\0';
 
     /* Non-full last line */
-    if (hex_string[0]) {
+    if (hex_string[0])
+    {
       DBUG_ASSERT(hexdump_from == (unsigned long) hexdump_from);
       fprintf(file, "# %8.8lx %-48.48s |%s|\n# ",
 	     (unsigned long) (hexdump_from + (i & 0xfffffff0)),
              hex_string, char_string);
     }
+    else
+      fprintf(file, "# ");
   }
 }
 
Thread
bk commit into 5.0 tree (lars:1.2036)Lars Thalmann2 Dec