List:Commits« Previous MessageNext Message »
From:Mikael Ronstrom Date:January 13 2012 4:31pm
Subject:bzr push into mysql-5.5-cluster-7.2 branch (mikael.ronstrom:3704 to 3705)
View as plain text  
 3705 Mikael Ronstrom	2012-01-13
      Avoid eternal loop

    modified:
      storage/ndb/test/ndbapi/flexAsynch.cpp
 3704 Mikael Ronstrom	2012-01-13
      Improve use of more resources when executing flexAsynch

    modified:
      storage/ndb/test/ndbapi/flexAsynch.cpp
=== modified file 'storage/ndb/test/ndbapi/flexAsynch.cpp'
--- a/storage/ndb/test/ndbapi/flexAsynch.cpp	revid:mikael.ronstrom@stripped
+++ b/storage/ndb/test/ndbapi/flexAsynch.cpp	revid:mikael.ronstrom@stripped
@@ -892,6 +892,8 @@ executeTransLoop(ThreadNdb* pThread, 
                             execute_all)) < 0)
       return false;
     STOP_TIMER;
+    if (!continue_flag)
+      break;
     time_expired = (int)(timer.elapsedTime() / 1000);
     if (time_expired < tWarmupTime)
       ; //Do nothing

No bundle (reason: useless for push emails).
Thread
bzr push into mysql-5.5-cluster-7.2 branch (mikael.ronstrom:3704 to 3705) Mikael Ronstrom16 Jan