MySQL Lists are EOL. Please join:

List:Commits« Previous MessageNext Message »
From:Jonas Oreland Date:May 19 2009 4:45pm
Subject:bzr commit into mysql-5.1-telco-7.0 branch (jonas:2916)
View as plain text  
#At file:///home/jonas/src/telco-6.4/ based on revid:magnus.blaudd@stripped

 2916 Jonas Oreland	2009-05-19
      ndb - fix gcc-4.2 compiler warning

    M  storage/ndb/src/kernel/blocks/dbtux/Dbtux.hpp
=== modified file 'storage/ndb/src/kernel/blocks/dbtux/Dbtux.hpp'
--- a/storage/ndb/src/kernel/blocks/dbtux/Dbtux.hpp	2008-10-05 07:14:21 +0000
+++ b/storage/ndb/src/kernel/blocks/dbtux/Dbtux.hpp	2009-05-19 16:45:23 +0000
@@ -850,13 +850,13 @@ Dbtux::TreeEnt::cmp(const TreeEnt ent) c
    */
   const unsigned version_wrap_limit = (1 << (ZTUP_VERSION_BITS - 1));
   if (m_tupVersion < ent.m_tupVersion) {
-    if (ent.m_tupVersion - m_tupVersion < version_wrap_limit)
+    if (unsigned(ent.m_tupVersion - m_tupVersion) < version_wrap_limit)
       return -1;
     else
       return +1;
   }
   if (m_tupVersion > ent.m_tupVersion) {
-    if (m_tupVersion - ent.m_tupVersion < version_wrap_limit)
+    if (unsigned(m_tupVersion - ent.m_tupVersion) < version_wrap_limit)
       return +1;
     else
       return -1;


Attachment: [text/bzr-bundle] bzr/jonas@mysql.com-20090519164523-eexu3ljenr9pd6a0.bundle
Thread
bzr commit into mysql-5.1-telco-7.0 branch (jonas:2916)Jonas Oreland19 May