List:Commits« Previous MessageNext Message »
From:jonas Date:March 23 2006 11:53am
Subject:bk commit into 4.1 tree (jonas:1.2480)
View as plain text  
Below is the list of changes that have just been committed into a local
4.1 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.2480 06/03/23 11:53:54 jonas@stripped +3 -0
  ndb -
    minor fixes in test programs

  ndb/test/ndbapi/testNodeRestart.cpp
    1.16 06/03/23 11:53:53 jonas@stripped +8 -0
    Fix test program

  ndb/src/kernel/blocks/dblqh/DblqhMain.cpp
    1.62 06/03/23 11:53:53 jonas@stripped +1 -1
    Fix conflicting error codes

  ndb/src/kernel/blocks/ERROR_codes.txt
    1.16 06/03/23 11:53:52 jonas@stripped +1 -1
    Fix conflicting error codes

# 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:	jonas
# Host:	perch.ndb.mysql.com
# Root:	/home/jonas/src/41-work

--- 1.15/ndb/src/kernel/blocks/ERROR_codes.txt	2006-03-22 11:44:29 +01:00
+++ 1.16/ndb/src/kernel/blocks/ERROR_codes.txt	2006-03-23 11:53:52 +01:00
@@ -316,7 +316,7 @@
 5026  Crash when receiving COPY_ACTIVEREQ
 5027  Crash when receiving STAT_RECREQ
 
-5042  Crash starting node, when scan is finished on primary replica
+5043  Crash starting node, when scan is finished on primary replica
 
 Test Crashes in handling take over
 ----------------------------------

--- 1.61/ndb/src/kernel/blocks/dblqh/DblqhMain.cpp	2006-03-20 14:53:27 +01:00
+++ 1.62/ndb/src/kernel/blocks/dblqh/DblqhMain.cpp	2006-03-23 11:53:53 +01:00
@@ -9221,7 +9221,7 @@
 /*---------------------------------------------------------------------------*/
     scanptr.p->scanCompletedStatus = ZTRUE;
     scanptr.p->scanState = ScanRecord::WAIT_LQHKEY_COPY;
-    if (ERROR_INSERTED(5042))
+    if (ERROR_INSERTED(5043))
     {
       CLEAR_ERROR_INSERT_VALUE;
       tcConnectptr.p->copyCountWords = ~0;

--- 1.15/ndb/test/ndbapi/testNodeRestart.cpp	2006-03-22 11:44:29 +01:00
+++ 1.16/ndb/test/ndbapi/testNodeRestart.cpp	2006-03-23 11:53:53 +01:00
@@ -439,6 +439,14 @@
   if (restarter.startNodes(&nodeId, 1))
     return NDBT_FAILED;
 
+  restarter.waitNodesStartPhase(&nodeId, 1, 3);
+  
+  if (restarter.waitNodesNoStart(&nodeId, 1))
+    return NDBT_FAILED; 
+   
+  if (restarter.startNodes(&nodeId, 1))
+    return NDBT_FAILED;
+  
   if (restarter.waitNodesStarted(&nodeId, 1))
     return NDBT_FAILED;
   
Thread
bk commit into 4.1 tree (jonas:1.2480)jonas23 Mar