List:Commits« Previous MessageNext Message »
From:U-ROWVWADEjas Date:October 16 2007 10:38pm
Subject:bk commit into 6.0 tree (jas:1.2660)
View as plain text  
Below is the list of changes that have just been committed into a local
6.0 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-10-16 16:38:26-04:00, jas@rowvwade. +1 -0
  Re-instate proper Bdb aging.

  storage/falcon/Cache.cpp@stripped, 2007-10-16 16:38:19-04:00, jas@rowvwade. +1 -1
    Re-instate proper Bdb aging.

diff -Nrup a/storage/falcon/Cache.cpp b/storage/falcon/Cache.cpp
--- a/storage/falcon/Cache.cpp	2007-10-16 13:29:30 -04:00
+++ b/storage/falcon/Cache.cpp	2007-10-16 16:38:19 -04:00
@@ -277,7 +277,7 @@ Bdb* Cache::fetchPage(Dbb *dbb, int32 pa
 
 	// If buffer has moved out of the upper "fraction" of the LRU queue, move it back up
 	
-	if (bdb->age > bufferAge + upperFraction)
+	if (bdb->age < bufferAge - upperFraction)
 		{
 		sync.lock (Exclusive, "Cache::fetchPage 3");
 		moveToHead (bdb);
Thread
bk commit into 6.0 tree (jas:1.2660)U-ROWVWADEjas16 Oct