MySQL Lists are EOL. Please join:

List:Commits« Previous MessageNext Message »
From:tomas Date:March 20 2006 11:26am
Subject:bk commit into 5.1 tree (tomas:1.1993) BUG#18349
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
  1.1993 06/03/20 12:26:00 tomas@stripped +1 -0
  Bug #18349 Wrong error message "Array index out of bounds..."

  storage/ndb/src/kernel/blocks/dbdih/DbdihMain.cpp
    1.42 06/03/20 12:25:54 tomas@stripped +2 -1
    Bug #18349 Wrong error message "Array index out of bounds..."

# 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:	poseidon.ndb.mysql.com
# Root:	/home/tomas/wl2325-alcatel

--- 1.41/storage/ndb/src/kernel/blocks/dbdih/DbdihMain.cpp	2006-02-16 14:29:28 +01:00
+++ 1.42/storage/ndb/src/kernel/blocks/dbdih/DbdihMain.cpp	2006-03-20 12:25:54 +01:00
@@ -11894,7 +11894,8 @@
   /*       THAT THE NEW REPLICA IS NOT STARTED YET AND REPLICA_LAST_GCI IS*/
   /*       SET TO -1 TO INDICATE THAT IT IS NOT DEAD YET.                 */
   /*----------------------------------------------------------------------*/
-  arrGuard(ncrReplicaPtr.p->noCrashedReplicas + 1, 8);
+  arrGuardErr(ncrReplicaPtr.p->noCrashedReplicas + 1, 8,
+              NDBD_EXIT_MAX_CRASHED_REPLICAS);
   ncrReplicaPtr.p->replicaLastGci[ncrReplicaPtr.p->noCrashedReplicas] = 
     SYSFILE->lastCompletedGCI[nodeId];
   ncrReplicaPtr.p->noCrashedReplicas = ncrReplicaPtr.p->noCrashedReplicas + 1;
Thread
bk commit into 5.1 tree (tomas:1.1993) BUG#18349tomas20 Mar