From: Date: April 4 2006 11:34am Subject: bk commit into 5.0 tree (tomas:1.2099) BUG#18349 List-Archive: http://lists.mysql.com/commits/4436 X-Bug: 18349 Message-Id: <20060404093442.D0EA880C4C@poseidon.mysql.com> Below is the list of changes that have just been committed into a local 5.0 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.2099 06/04/04 11:34:31 tomas@stripped +1 -0 Bug #18349 Wrong error message "Array index out of bounds... ndb/src/kernel/blocks/dbdih/DbdihMain.cpp 1.44 06/04/04 11:34:25 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/mysql-5.0 --- 1.43/ndb/src/kernel/blocks/dbdih/DbdihMain.cpp 2006-02-10 19:25:40 +01:00 +++ 1.44/ndb/src/kernel/blocks/dbdih/DbdihMain.cpp 2006-04-04 11:34:25 +02:00 @@ -11803,7 +11803,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;