List:Internals« Previous MessageNext Message »
From:tomas Date:May 4 2005 3:10pm
Subject:bk commit into 5.1 tree (tulin:1.1818)
View as plain text  
Below is the list of changes that have just been committed into a local
5.1 repository of ndbdev. When ndbdev 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.1818 05/05/04 15:10:32 tulin@stripped +1 -0
  rpl_tblmap.cc:
    bugfix for mem overwrite

  sql/rpl_tblmap.cc
    1.4 05/05/04 15:00:09 tulin@stripped +2 -2
    bugfix for mem overwrite

# 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:	tulin
# Host:	dl145c.mysql.com
# Root:	/home/ndbdev/tomas/mysql-5.1-wl2325

--- 1.3/sql/rpl_tblmap.cc	Thu Apr 28 14:27:29 2005
+++ 1.4/sql/rpl_tblmap.cc	Wed May  4 15:00:09 2005
@@ -121,11 +121,11 @@
     }
     m_reserve = reserve;
     m_array = array;
+    ++m_count;
   }
-
+  DBUG_ASSERT(pos <= m_count && m_count < m_reserve);
   m_array[pos].table_id = table_id;
   m_array[pos].table = table;
-  ++m_count;
   DBUG_PRINT("info", ("tid %d -> table %p (%s)", 
 		      table_id, m_array[pos].table,
 		      m_array[pos].table->s->table_name));
Thread
bk commit into 5.1 tree (tulin:1.1818)tomas4 May