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) List-Archive: http://lists.mysql.com/commits/142392 Message-Id: <201201131632.q0DGWldr027275@dator6> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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).