From: Date: April 2 2007 9:07am Subject: bk commit into 5.0 tree (jonas:1.2303) BUG#27581 List-Archive: http://lists.mysql.com/commits/23495 X-Bug: 27581 Message-Id: <20070402070719.2B6123D154A@perch.ndb.mysql.com> Below is the list of changes that have just been committed into a local 5.0 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, 2007-04-02 09:07:15+02:00, jonas@stripped +1 -0 ndb - bug#27581 make sure not to leave partially initialized pagerage-records ndb/src/kernel/blocks/dbtup/DbtupPageMap.cpp@stripped, 2007-04-02 09:07:14+02:00, jonas@stripped +7 -0 make sure not to leave partially initialized pagerage-records # 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/50-work --- 1.3/ndb/src/kernel/blocks/dbtup/DbtupPageMap.cpp 2007-04-02 09:07:19 +02:00 +++ 1.4/ndb/src/kernel/blocks/dbtup/DbtupPageMap.cpp 2007-04-02 09:07:19 +02:00 @@ -453,6 +453,13 @@ ptrCheckGuard(parentPageRangePtr, cnoOfPageRangeRec, pageRange); if (parentPageRangePtr.p->currentIndexPos < 3) { ljam(); + + if (c_noOfFreePageRanges < tiprNoLevels) + { + ljam(); + return RNIL; + }//if + /* ---------------------------------------------------------------- */ /* WE HAVE FOUND AN EMPTY ENTRY IN A PAGE RANGE RECORD. */ /* ALLOCATE A NEW PAGE RANGE RECORD, FILL IN THE START RANGE, */