From: Jonas Oreland Date: March 21 2012 10:06am Subject: bzr push into mysql-5.1-telco-7.0 branch (jonas.oreland:4896 to 4897) List-Archive: http://lists.mysql.com/commits/143257 Message-Id: <20120321100645.BB98E55C8EA@perch.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 4897 Jonas Oreland 2012-03-21 ndb - fix compiler warning in mt-send-t.cpp modified: storage/ndb/src/kernel/vm/mt-send-t.cpp 4896 Jonas Oreland 2012-03-21 ndb - bug#13869781 - fix missing barrier in mt.cpp causing (very) spurious hangs modified: storage/ndb/src/kernel/vm/mt.cpp === modified file 'storage/ndb/src/kernel/vm/mt-send-t.cpp' --- a/storage/ndb/src/kernel/vm/mt-send-t.cpp 2012-03-21 08:59:28 +0000 +++ b/storage/ndb/src/kernel/vm/mt-send-t.cpp 2012-03-21 10:04:27 +0000 @@ -258,7 +258,7 @@ thread_main(void * _t) /** * This is the equivalent of do_send() */ - int force = (rand_r(&seed) % 100) < pct_force; + bool force = unsigned(rand_r(&seed) % 100) < pct_force; self->p.consume(force); } test.wait_completed(); No bundle (reason: useless for push emails).