From: Date: September 24 2007 10:51am Subject: bk commit into 5.1 tree (mats:1.2595) BUG#31076 List-Archive: http://lists.mysql.com/commits/34502 X-Bug: 31076 Message-Id: <20070924085114.0259712CA42@romeo.kindahl.net> 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-24 10:50:57+02:00, mats@stripped +1 -0 BUG#31076 (Server crashes when start slave is issued): Second patch to initailize more uninitialized variables. sql/log_event.cc@stripped, 2007-09-24 10:50:47+02:00, mats@stripped +7 -3 Intializing several uninitialized fields in the Table_map_log_event. diff -Nrup a/sql/log_event.cc b/sql/log_event.cc --- a/sql/log_event.cc 2007-09-20 16:30:47 +02:00 +++ b/sql/log_event.cc 2007-09-24 10:50:47 +02:00 @@ -6621,6 +6621,7 @@ Table_map_log_event::Table_map_log_event m_tblnam(tbl->s->table_name.str), m_tbllen(tbl->s->table_name.length), m_colcnt(tbl->s->fields), m_field_metadata(0), + m_field_metadata_size(0), m_memory(NULL), m_meta_memory(NULL), m_data_size(0), m_table_id(tid), m_null_bits(0), m_flags(flags) { DBUG_ASSERT(m_table_id != ~0UL); @@ -6693,10 +6694,13 @@ Table_map_log_event::Table_map_log_event : Log_event(buf, description_event), #ifndef MYSQL_CLIENT - m_table(NULL), + m_table(NULL), #endif - m_memory(NULL), - m_field_metadata(0), m_field_metadata_size(0), m_null_bits(0) + m_dbnam(NULL), m_dblen(0), m_tblnam(NULL), m_tbllen(0), + m_colcnt(0), m_coltype(0), + m_memory(NULL), m_table_id(ULONG_MAX), m_flags(0), + m_data_size(0), m_field_metadata(0), m_field_metadata_size(0), + m_null_bits(0), m_meta_memory(NULL) { unsigned int bytes_read= 0; DBUG_ENTER("Table_map_log_event::Table_map_log_event(const char*,uint,...)");