List:Internals« Previous MessageNext Message »
From:tomas Date:October 10 2005 3:09pm
Subject:bk commit into 5.0 tree (tulin:1.2026)
View as plain text  
Below is the list of changes that have just been committed into a local
5.0 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.2026 05/10/10 17:09:27 tulin@stripped +4 -0
  fixed init of variables in ndb block constructors

  ndb/src/kernel/blocks/ndbfs/Ndbfs.cpp
    1.19 05/10/10 17:04:55 ndbdev@stripped +4 -1
    fixed init of variables in ndb block constructors

  ndb/src/kernel/blocks/dbtup/DbtupGen.cpp
    1.19 05/10/10 17:04:55 ndbdev@stripped +16 -0
    fixed init of variables in ndb block constructors

  ndb/src/kernel/blocks/dbtc/DbtcInit.cpp
    1.11 05/10/10 17:04:55 ndbdev@stripped +13 -0
    fixed init of variables in ndb block constructors

  ndb/src/kernel/blocks/dbdih/DbdihInit.cpp
    1.9 05/10/10 17:04:55 ndbdev@stripped +12 -0
    fixed init of variables in ndb block constructors

# 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:	dl145b.mysql.com
# Root:	/home/ndbdev/tomas/mysql-5.0

--- 1.8/ndb/src/kernel/blocks/dbdih/DbdihInit.cpp	Tue Oct  4 20:05:52 2005
+++ 1.9/ndb/src/kernel/blocks/dbdih/DbdihInit.cpp	Mon Oct 10 17:04:55 2005
@@ -262,6 +262,18 @@
 
   addRecSignal(GSN_CREATE_FRAGMENTATION_REQ, 
 	       &Dbdih::execCREATE_FRAGMENTATION_REQ);
+
+  apiConnectRecord = 0;  
+  connectRecord = 0;  
+  fileRecord = 0;  
+  fragmentstore = 0;
+  pageRecord = 0;  
+  replicaRecord = 0;  
+  tabRecord = 0;
+  createReplicaRecord = 0;  
+  nodeGroupRecord = 0;  
+  nodeRecord = 0;
+  takeOverRecord = 0;
 }//Dbdih::Dbdih()
 
 Dbdih::~Dbdih() 

--- 1.10/ndb/src/kernel/blocks/dbtc/DbtcInit.cpp	Tue Oct  4 20:05:52 2005
+++ 1.11/ndb/src/kernel/blocks/dbtc/DbtcInit.cpp	Mon Oct 10 17:04:55 2005
@@ -291,6 +291,19 @@
   
   addRecSignal(GSN_ALTER_TAB_REQ, &Dbtc::execALTER_TAB_REQ);
 
+  cacheRecord = 0;
+  apiConnectRecord = 0;
+  tcConnectRecord = 0;
+  hostRecord = 0;
+  tableRecord = 0;
+  scanRecord = 0;
+  databufRecord = 0;
+  attrbufRecord = 0;
+  gcpRecord = 0;
+  tcFailRecord = 0;
+  c_apiConTimer = 0;
+  c_apiConTimer_line = 0;
+
 #ifdef VM_TRACE
   {
     void* tmp[] = { &apiConnectptr, 

--- 1.18/ndb/src/kernel/blocks/dbtup/DbtupGen.cpp	Tue Oct  4 20:05:53 2005
+++ 1.19/ndb/src/kernel/blocks/dbtup/DbtupGen.cpp	Mon Oct 10 17:04:55 2005
@@ -126,6 +126,22 @@
   addRecSignal(GSN_ACC_CHECK_SCAN, &Dbtup::execACC_CHECK_SCAN);
 
   initData();
+
+  attrbufrec = 0;  
+  checkpointInfo = 0;  
+  diskBufferSegmentInfo = 0;  
+  fragoperrec = 0;
+  fragrecord = 0;  
+  hostBuffer = 0;  
+  localLogInfo = 0;  
+  operationrec = 0;
+  page = 0;  
+  pageRange = 0;
+  pendingFileOpenInfo = 0;  
+  restartInfoRecord = 0;  
+  tablerec = 0;  
+  tableDescriptor = 0;  
+  undoPage = 0;
 }//Dbtup::Dbtup()
 
 Dbtup::~Dbtup() 

--- 1.18/ndb/src/kernel/blocks/ndbfs/Ndbfs.cpp	Tue Oct  4 20:05:53 2005
+++ 1.19/ndb/src/kernel/blocks/ndbfs/Ndbfs.cpp	Mon Oct 10 17:04:55 2005
@@ -71,6 +71,8 @@
   addRecSignal(GSN_FSAPPENDREQ, &Ndbfs::execFSAPPENDREQ);
   addRecSignal(GSN_FSREMOVEREQ, &Ndbfs::execFSREMOVEREQ);
    // Set send signals
+
+  theRequestPool = 0;
 }
 
 Ndbfs::~Ndbfs()
@@ -85,7 +87,8 @@
   }//for
   theFiles.clear();
 
-  delete theRequestPool;
+  if (theRequestPool)
+    delete theRequestPool;
 }
 
 void 
Thread
bk commit into 5.0 tree (tulin:1.2026)tomas10 Oct