List:Commits« Previous MessageNext Message »
From:vvaintroub Date:March 4 2008 5:42pm
Subject:bk commit into 6.0 tree (vvaintroub:1.2582)
View as plain text  
Below is the list of changes that have just been committed into a local
6.0 repository of vvaintroub.  When vvaintroub does a push these changes
will be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html

ChangeSet@stripped, 2008-03-04 17:42:29+01:00, vvaintroub@wva. +1 -0
  fix infinite loop.

  storage/falcon/IndexPage.cpp@stripped, 2008-03-04 17:42:27+01:00, vvaintroub@wva. +3 -1
    Fix infinite loop.

diff -Nrup a/storage/falcon/IndexPage.cpp b/storage/falcon/IndexPage.cpp
--- a/storage/falcon/IndexPage.cpp	2008-02-27 11:18:49 +01:00
+++ b/storage/falcon/IndexPage.cpp	2008-03-04 17:42:27 +01:00
@@ -1407,7 +1407,9 @@ void IndexPage::rebalanceSuperNodes(int 
                 begin.getNext(end);
                 begin.expandKey(&key);
                 }
-            while (begin.nextNode != node.node);
+            while (begin.nextNode != node.node && begin.node != end);
+            if(begin.node == end)
+		    break;
 
             IndexKey priorKey(&key);
             begin.getNext(end);
Thread
bk commit into 6.0 tree (vvaintroub:1.2582)vvaintroub4 Mar