List:Commits« Previous MessageNext Message »
From:U-ROWVWADEjas Date:July 9 2007 12:50am
Subject:bk commit into 6.0-falcon tree (jas:1.2606)
View as plain text  
Below is the list of changes that have just been committed into a local
6.0-falcon repository of . When  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-07-08 18:50:03-04:00, jas@rowvwade. +2 -0
  Respect partial key when checking max and min for DeferredIndex.

  storage/falcon/DeferredIndex.cpp@stripped, 2007-07-08 18:49:47-04:00, jas@rowvwade. +3 -3
    Respect partial key when checking max and min for DeferredIndex.

  storage/falcon/Record.cpp@stripped, 2007-07-08 18:49:48-04:00, jas@rowvwade. +2 -1
    Fix Valgrind warning.

# 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:	rowvwade.
# Root:	D:/MySQL/mysql-5.1-falcon

--- 1.26/storage/falcon/DeferredIndex.cpp	2007-07-08 18:50:35 -04:00
+++ 1.27/storage/falcon/DeferredIndex.cpp	2007-07-08 18:50:35 -04:00
@@ -740,11 +740,12 @@
 {
 	Sync sync(&syncObject, "DeferredIndex::scanIndex");
 	sync.lock(Shared);
+	bool isPartial = (searchFlags & Partial) == Partial;
 	
-	if (maxValue && highKey && compare(highKey, maxValue, false) > 0)
+	if (maxValue && highKey && compare(highKey, maxValue, isPartial) > 0)
 		return;
 	
-	if (minValue && lowKey && compare(lowKey, minValue, false) < 0)
+	if (minValue && lowKey && compare(lowKey, minValue, isPartial) < 0)
 		return;
 
 	// First, be sure it has not already been put into the serial log.
@@ -762,7 +763,6 @@
 		}
 
 	DeferredIndexWalker walker(this, lowKey, searchFlags);
-	bool isPartial = (searchFlags & Partial) == Partial;
 
 	for (DINode *node; (node = walker.next());)
 		{

--- 1.49/storage/falcon/Record.cpp	2007-07-08 18:50:35 -04:00
+++ 1.50/storage/falcon/Record.cpp	2007-07-08 18:50:35 -04:00
@@ -92,6 +92,7 @@
 		format = table->getFormat (-*p);
 		data.record = NULL;
 		setEncodedRecord(stream, false);
+		setAgeGroup();
 		}
 }
 
@@ -106,7 +107,7 @@
 	size = sizeof (RecordVersion);
 	encoding = noEncoding;
 	state = recData;
-	ageGroup = table->database->currentAgeGroup;
+	setAgeGroup();
 	
 #ifdef CHECK_RECORD_ACTIVITY
 	active = false;
Thread
bk commit into 6.0-falcon tree (jas:1.2606)U-ROWVWADEjas8 Jul