From: Date: April 9 2008 12:18am Subject: bk commit into 5.1 tree (frazer:1.2544) BUG#35908 List-Archive: http://lists.mysql.com/commits/45091 X-Bug: 35908 Message-Id: <200804082218.m38MINBM031259@forth.ndb.mysql.com> Below is the list of changes that have just been committed into a local 5.1 repository of frazer. When frazer 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, 2008-04-08 23:18:05+01:00, frazer@stripped +1 -0 Bug #35908 : Ordered index scan should return tuples in order Retrieve indexed columns by using column mask from index table, not from base table. storage/ndb/src/ndbapi/NdbScanOperation.cpp@stripped, 2008-04-08 23:17:56+01:00, frazer@stripped +1 -1 Bug #35908 : Ordered index scan should return tuples in order Retrieve indexed columns by using column mask from index table, not from base table. diff -Nrup a/storage/ndb/src/ndbapi/NdbScanOperation.cpp b/storage/ndb/src/ndbapi/NdbScanOperation.cpp --- a/storage/ndb/src/ndbapi/NdbScanOperation.cpp 2008-04-01 16:37:03 +01:00 +++ b/storage/ndb/src/ndbapi/NdbScanOperation.cpp 2008-04-08 23:17:56 +01:00 @@ -1733,7 +1733,7 @@ int NdbScanOperation::finaliseScanOldApi */ const unsigned char * resultMask= ((m_savedScanFlagsOldApi & SF_OrderBy) !=0) ? - m_currentTable->m_pkMask : + m_accessTable->m_pkMask : emptyMask; result= isop->scanIndexImpl(m_accessTable->m_ndbrecord,