List:Commits« Previous MessageNext Message »
From:Jim Starkey Date:August 30 2007 9:19pm
Subject:bk commit into 6.0-falcon tree (jas:1.2728)
View as plain text  
Below is the list of changes that have just been committed into a local
6.0-falcon repository of jas. When jas 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, 2007-08-30 17:19:49-04:00, jas@stripped +1 -0
  Fix another index node overrun.

  storage/falcon/IndexPage.cpp@stripped, 2007-08-30 17:19:47-04:00, jas@stripped +1 -1
    Fix another index node overrun.

# This is a BitKeeper patch.  What follows are the unified diffs for the
# set of deltas contained in the patch.  The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User:	jas
# Host:	fluffy.netfrastructure.com
# Root:	/home/mysql/mysql-5.1-falcon

--- 1.63/storage/falcon/IndexPage.cpp	2007-08-30 17:19:55 -04:00
+++ 1.64/storage/falcon/IndexPage.cpp	2007-08-30 17:19:55 -04:00
@@ -531,8 +531,8 @@
 
 	IndexKey nextKey;
 	IndexKey priorKey;
-	IndexNode node (findNodeInLeaf (indexKey, &priorKey));
 	Btn *bucketEnd = getEnd();
+	IndexNode node (findNodeInLeaf (indexKey, &priorKey), bucketEnd);
 	int offset = (int) ((char*) node.node - (char*) this);
 
 	// Make sure we've got an exact hit on key
Thread
bk commit into 6.0-falcon tree (jas:1.2728)Jim Starkey30 Aug