List:Commits« Previous MessageNext Message »
From:tomas Date:June 3 2007 7:31pm
Subject:bk commit into 5.1 tree (tomas:1.2524)
View as plain text  
Below is the list of changes that have just been committed into a local
5.1 repository of tomas. When tomas 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-06-03 19:31:53+02:00, tomas@stripped +1 -0
  Merge whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-telco-gca
  into  whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-single-user
  MERGE: 1.2403.18.59

  storage/ndb/src/kernel/blocks/pgman.cpp@stripped, 2007-06-03 19:31:49+02:00,
tomas@stripped +0 -0
    Auto merged
    MERGE: 1.20.1.4

# 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:	tomas
# Host:	whalegate.ndb.mysql.com
# Root:	/home/tomas/mysql-5.1-single-user/RESYNC

--- 1.24/storage/ndb/src/kernel/blocks/pgman.cpp	2007-05-28 12:22:17 +02:00
+++ 1.25/storage/ndb/src/kernel/blocks/pgman.cpp	2007-06-03 19:31:49 +02:00
@@ -668,6 +668,7 @@
         jam();
         move_cleanup_ptr(ptr);
         pl_queue.remove(ptr);
+        state &= ~ Page_entry::ONQUEUE;
       }
       if (state & Page_entry::BOUND)
       {
@@ -698,6 +699,12 @@
     pl_stack.add(ptr);
     state |= Page_entry::ONSTACK;
     state |= Page_entry::HOT;
+    // it could be on queue already
+    if (state & Page_entry::ONQUEUE) {
+      jam();
+      pl_queue.remove(ptr);
+      state &= ~Page_entry::ONQUEUE;
+    }
   }
 
   set_page_state(ptr, state);
Thread
bk commit into 5.1 tree (tomas:1.2524)tomas3 Jun