From: Date: October 13 2006 9:06am Subject: bk commit into 5.1 tree (jonas:1.2065) BUG#21941 List-Archive: http://lists.mysql.com/commits/13643 X-Bug: 21941 Message-Id: <20061013070604.5C1B75A4096@perch.ndb.mysql.com> Below is the list of changes that have just been committed into a local 5.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-13 09:06:00+02:00, jonas@stripped +1 -0 ndb - missing if for bug#21941 note this does not happen in 5.0, but i'm committing it here to keep code same between 5.0 and 5.1 storage/ndb/src/ndbapi/NdbScanOperation.cpp@stripped, 2006-10-13 09:05:59+02:00, jonas@stripped +2 -2 ndb - missing if for bug#21941 note this does not happen in 5.0, but i'm committing it here to keep code same between 5.0 and 5.1 # 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/mysql-5.1-wl2325-5.0 --- 1.75/storage/ndb/src/ndbapi/NdbScanOperation.cpp 2006-10-13 09:06:04 +02:00 +++ 1.76/storage/ndb/src/ndbapi/NdbScanOperation.cpp 2006-10-13 09:06:04 +02:00 @@ -676,7 +676,7 @@ theNdbCon = NULL; m_transConnection = NULL; - if (tTransCon) + if (tTransCon && releaseOp) { NdbIndexScanOperation* tOp = (NdbIndexScanOperation*)this; @@ -691,7 +691,7 @@ &tTransCon->m_theLastScanOperation, tOp); } - else if (releaseOp) + else { ret = tTransCon->releaseScanOperation(&tTransCon->m_firstExecutedScanOp, 0, tOp);