MySQL Lists are EOL. Please join:

List:Commits« Previous MessageNext Message »
From:jonas Date:October 20 2006 10:29am
Subject:bk commit into 4.1 tree (jonas:1.2553)
View as plain text  
Below is the list of changes that have just been committed into a local
4.1 repository of jonas. When jonas 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, 2006-10-20 12:29:16+02:00, jonas@stripped +1 -0
  ndb -
    Fix monster SR bug making SR with ordered indexes (or temporary tables) broken

  ndb/src/kernel/blocks/dbdih/DbdihMain.cpp@stripped, 2006-10-20 12:29:15+02:00, jonas@stripped +4 -1
    Fix monster SR bug making SR with ordered indexes (or temporary tables) broken

# 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:	jonas
# Host:	perch.ndb.mysql.com
# Root:	/home/jonas/src/41-work

--- 1.43/ndb/src/kernel/blocks/dbdih/DbdihMain.cpp	2006-10-20 12:29:19 +02:00
+++ 1.44/ndb/src/kernel/blocks/dbdih/DbdihMain.cpp	2006-10-20 12:29:19 +02:00
@@ -8378,14 +8378,17 @@
 	    ConstPtr<ReplicaRecord> constReplicaPtr;
 	    constReplicaPtr.i = replicaPtr.i;
 	    constReplicaPtr.p = replicaPtr.p;
-	    if (setup_create_replica(fragPtr,
+	    if (tabPtr.p->tabStorage != TabRecord::ST_NORMAL ||
+		setup_create_replica(fragPtr,
 				     &createReplica, constReplicaPtr))
 	    {
+	      jam();
 	      removeOldStoredReplica(fragPtr, replicaPtr);
 	      linkStoredReplica(fragPtr, replicaPtr);
 	    }
 	    else
 	    {
+	      jam();
 	      infoEvent("Forcing take-over of node %d due to unsufficient REDO"
 			" for table %d fragment: %d",
 			nodePtr.i, tabPtr.i, i);
Thread
bk commit into 4.1 tree (jonas:1.2553)jonas20 Oct