List:Commits« Previous MessageNext Message »
From:Frazer Clement Date:March 20 2009 5:16pm
Subject:bzr commit into mysql-5.1-telco-7.0 branch (frazer:2981)
View as plain text  
#At file:///home/frazer/bzr/mysql-5.1-telco-6.4/

 2981 Frazer Clement	2009-03-20
      Fix for testLimits -n DropSignalFragments on ndbmtd
      modified:
        storage/ndb/test/ndbapi/testLimits.cpp

=== modified file 'storage/ndb/test/ndbapi/testLimits.cpp'
--- a/storage/ndb/test/ndbapi/testLimits.cpp	2009-03-20 15:10:06 +0000
+++ b/storage/ndb/test/ndbapi/testLimits.cpp	2009-03-20 17:16:01 +0000
@@ -766,6 +766,12 @@ int testDropSignalFragments(NDBT_Context
 
     Uint32 errorInsertVal= subcase.errorInsertCode;
     // printf("Inserting error : %u\n", errorInsertVal);
+    /* We insert the error twice, to bias races between
+     * error-insert propagation and the succeeding scan
+     * in favour of error insert winning!
+     * This problem needs a more general fix
+     */
+    CHECKEQUAL(0, restarter.insertErrorInAllNodes(errorInsertVal));
     CHECKEQUAL(0, restarter.insertErrorInAllNodes(errorInsertVal));
 
     NdbScanOperation* scan= trans->getNdbScanOperation(ctx->getTab());

Thread
bzr commit into mysql-5.1-telco-7.0 branch (frazer:2981)Frazer Clement20 Mar