List:Commits« Previous MessageNext Message »
From:jonas Date:May 18 2007 8:07am
Subject:bk commit into 5.1 tree (jonas:1.2527)
View as plain text  
Below is the list of changes that have just been committed into a local
5.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@stripped, 2007-05-18 10:07:39+02:00, jonas@stripped +2 -0
  Merge perch.ndb.mysql.com:/home/jonas/src/51-telco-gca
  into  perch.ndb.mysql.com:/home/jonas/src/telco-6.1
  MERGE: 1.2403.9.50

  storage/ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp@stripped, 2007-05-18 10:07:36+02:00, jonas@stripped +0 -0
    Auto merged
    MERGE: 1.37.1.5

  storage/ndb/test/run-test/daily-basic-tests.txt@stripped, 2007-05-18 10:07:36+02:00, jonas@stripped +0 -0
    Auto merged
    MERGE: 1.61.1.13

# 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/telco-6.1/RESYNC

--- 1.76/storage/ndb/test/run-test/daily-basic-tests.txt	2007-05-18 10:07:44 +02:00
+++ 1.77/storage/ndb/test/run-test/daily-basic-tests.txt	2007-05-18 10:07:44 +02:00
@@ -688,6 +688,10 @@
 cmd: testNdbApi
 args: -n ExecuteAsynch T1
 
+max-time: 1000
+cmd: testNdbApi
+args: -n BugBug28443
+
 #max-time: 500
 #cmd: testInterpreter
 #args: T1 

--- 1.44/storage/ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp	2007-05-18 10:07:44 +02:00
+++ 1.45/storage/ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp	2007-05-18 10:07:44 +02:00
@@ -138,6 +138,7 @@
 
 #ifdef ERROR_INSERT
 NodeBitmask c_error_9000_nodes_mask;
+extern Uint32 MAX_RECEIVED_SIGNALS;
 #endif
 
 void Cmvmi::execNDB_TAMPER(Signal* signal) 
@@ -165,6 +166,22 @@
   if(ERROR_INSERTED(9995)){
     simulate_error_during_shutdown= SIGSEGV;
     kill(getpid(), SIGABRT);
+  }
+#endif
+
+#ifdef ERROR_INSERT
+  if (signal->theData[0] == 9003)
+  {
+    if (MAX_RECEIVED_SIGNALS < 1024)
+    {
+      MAX_RECEIVED_SIGNALS = 1024;
+    }
+    else
+    {
+      MAX_RECEIVED_SIGNALS = rand() % 128;
+    }
+    ndbout_c("MAX_RECEIVED_SIGNALS: %d", MAX_RECEIVED_SIGNALS);
+    CLEAR_ERROR_INSERT_VALUE;
   }
 #endif
 }//execNDB_TAMPER()
Thread
bk commit into 5.1 tree (jonas:1.2527)jonas18 May