List:Commits« Previous MessageNext Message »
From:Jonas Oreland Date:February 19 2009 9:59am
Subject:bzr commit into mysql-5.1-telco-6.2 branch (jonas:2845)
View as plain text  
#At file:///home/jonas/src/telco-6.2/

 2845 Jonas Oreland	2009-02-19
      ndb - add error inserts for easy reproduction of bug-36702
modified:
  storage/ndb/src/kernel/blocks/dbdict/Dbdict.cpp

=== modified file 'storage/ndb/src/kernel/blocks/dbdict/Dbdict.cpp'
--- a/storage/ndb/src/kernel/blocks/dbdict/Dbdict.cpp	2009-02-17 07:52:13 +0000
+++ b/storage/ndb/src/kernel/blocks/dbdict/Dbdict.cpp	2009-02-19 09:59:23 +0000
@@ -15922,6 +15922,15 @@ Dbdict::createObj_prepare_complete_done(
 void
 Dbdict::createObj_commit(Signal * signal, SchemaOp * op)
 {
+  if (ERROR_INSERTED(6016))
+  {
+    jam();
+    NodeReceiverGroup rg(CMVMI, c_aliveNodes);
+    signal->theData[0] = 9999;
+    sendSignal(rg, GSN_NDB_TAMPER, signal, 1, JBB);
+    return;
+  }
+
   OpCreateObj * createObj = (OpCreateObj*)op;
 
   createObj->m_callback.m_callbackFunction = 
@@ -17000,6 +17009,15 @@ Dbdict::execCREATE_FILE_CONF(Signal* sig
 void
 Dbdict::create_file_commit_start(Signal* signal, SchemaOp* op)
 {
+  if (ERROR_INSERTED(6017))
+  {
+    jam();
+    NodeReceiverGroup rg(CMVMI, c_aliveNodes);
+    signal->theData[0] = 9999;
+    sendSignal(rg, GSN_NDB_TAMPER, signal, 1, JBB);
+    return;
+  }
+
   /**
    * CONTACT TSMAN LGMAN PGMAN 
    */

Thread
bzr commit into mysql-5.1-telco-6.2 branch (jonas:2845)Jonas Oreland19 Feb