List:Internals« Previous MessageNext Message »
From:jonas.oreland Date:April 8 2005 10:55am
Subject:bk commit into 5.1-ndb tree (joreland:1.1830)
View as plain text  
Below is the list of changes that have just been committed into a local
5.1-ndb repository of jonas. When jonas 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.1830 05/04/08 12:55:36 joreland@stripped +1 -0
  wl1759 - ndb varsize
    remove extra printouts

  ndb/src/kernel/blocks/restore.cpp
    1.10 05/04/08 12:55:31 joreland@stripped +0 -17
    remove extra printouts

# 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:	joreland
# Host:	eel.ndb.mysql.com.ndb.mysql.com.ndb.mysql.com.ndb.mysql.com
# Root:	/home/jonas/src/mysql-5.1-ndb-dd

--- 1.9/ndb/src/kernel/blocks/restore.cpp	Fri Apr  8 12:45:14 2005
+++ 1.10/ndb/src/kernel/blocks/restore.cpp	Fri Apr  8 12:55:31 2005
@@ -867,17 +867,6 @@
 Restore::parse_record(Signal* signal, FilePtr file_ptr, 
 		      const Uint32 *data, Uint32 len)
 {
-  if(file_ptr.p->m_table_id == 2)
-  {
-    for(Uint32 i = 0; i<len; i++)
-    {
-      printf("%.8x ", data[i]);
-      if(((i+1) % 7) == 0)
-	ndbout_c("");
-    }
-    ndbout_c("");
-  }
-
   List::Iterator it;
   LocalDataBuffer<15> columns(m_databuffer_pool, file_ptr.p->m_columns);  
 
@@ -912,9 +901,6 @@
       AttributeHeader::init(attrData++, c.m_id, c.m_size << 2);
       memcpy(attrData, data, 4*c.m_size);
       attrData += c.m_size;
-      if(file_ptr.p->m_table_id == 2)
-	ndbout_c("%d %d %.8x", c.m_id, c.m_size, *data);
-      
       data += c.m_size;
     }
     else if(c.m_nulloffset && BitmaskImpl::get(nulls, 
@@ -924,11 +910,8 @@
     }
     else
     {
-      ndbout_c("%.8x %.8x", data[0], data[1]);
       Uint32 sz= ntohl(*data); data++;
       Uint32 id= ntohl(*data); data++;
-      if(file_ptr.p->m_table_id == 2)
-	ndbout_c("%d %d %d %d", c.m_id, c.m_size, id, sz);
       ndbrequire(id == c.m_id);
       AttributeHeader::init(attrData++, c.m_id, sz);
       memcpy(attrData, data, sz);
Thread
bk commit into 5.1-ndb tree (joreland:1.1830)jonas.oreland8 Apr