List:Commits« Previous MessageNext Message »
From:Mats Kindahl Date:September 20 2007 9:59am
Subject:bk commit into 5.1 tree (mats:1.2594) BUG#31076
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, 2007-09-20 11:58:49+02:00, mats@stripped +1 -0
  BUG#31076 (Server crashes when start slave is issued):
  
  Row-based replication crashes when replicating from pre-5.1.22 to 5.1.22
  due to an uninitialized variable.

  sql/log_event.cc@stripped, 2007-09-20 11:58:36+02:00, mats@stripped +1 -1
    Initializing m_null_bits to null so that it can be detected that it
    was not initialized later.

diff -Nrup a/sql/log_event.cc b/sql/log_event.cc
--- a/sql/log_event.cc	2007-08-28 10:24:37 +02:00
+++ b/sql/log_event.cc	2007-09-20 11:58:36 +02:00
@@ -6696,7 +6696,7 @@ Table_map_log_event::Table_map_log_event
   m_table(NULL),
 #endif
   m_memory(NULL),
-  m_field_metadata(0), m_field_metadata_size(0)
+    m_field_metadata(0), m_field_metadata_size(0), m_null_bits(0)
 {
   unsigned int bytes_read= 0;
   DBUG_ENTER("Table_map_log_event::Table_map_log_event(const char*,uint,...)");
Thread
bk commit into 5.1 tree (mats:1.2594) BUG#31076Mats Kindahl20 Sep