List:Commits« Previous MessageNext Message »
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)
View as plain text  
 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).
Thread
bzr push into mysql-5.1-telco-7.0 branch (jonas.oreland:4896 to 4897) Jonas Oreland21 Mar