List:Commits« Previous MessageNext Message »
From:Mats Kindahl Date:September 8 2006 10:18am
Subject:bk commit into 5.1 tree (mats:1.2253)
View as plain text  
Below is the list of changes that have just been committed into a local
5.1 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, 2006-09-08 10:18:11+02:00, mats@romeo.(none) +2 -0
  Patches to fix problems on Windows

  sql/log_event.cc@stripped, 2006-09-08 10:18:08+02:00, mats@romeo.(none) +1 -1
    Adding cast since byte is unsigned char on Windows

  sql/rpl_utility.cc@stripped, 2006-09-08 10:18:08+02:00, mats@romeo.(none) +2 -0
    Adding missing return statement.

# 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:	mats
# Host:	romeo.(none)
# Root:	/home/bk/w3259-mysql-5.1-new-rpl

--- 1.239/sql/log_event.cc	2006-09-08 10:18:17 +02:00
+++ 1.240/sql/log_event.cc	2006-09-08 10:18:17 +02:00
@@ -5369,7 +5369,7 @@
     if (master_reclength)
     {
       if (*field_ptr)
-        *master_reclength = (*field_ptr)->ptr - table->record[0];
+        *master_reclength = (*field_ptr)->ptr - (char*) table->record[0];
       else
         *master_reclength = table->s->reclength;
     }

--- 1.1/sql/rpl_utility.cc	2006-09-08 10:18:17 +02:00
+++ 1.2/sql/rpl_utility.cc	2006-09-08 10:18:17 +02:00
@@ -96,6 +96,8 @@
     length= ~0UL;                               // NYI
     break;
   }
+
+  return length;
 }
 
 /*********************************************************************
Thread
bk commit into 5.1 tree (mats:1.2253)Mats Kindahl8 Sep