From: Date: February 5 2008 12:45pm Subject: bk commit into 5.0 tree (msvensson:1.2580) BUG#31239 List-Archive: http://lists.mysql.com/commits/41701 X-Bug: 31239 Message-Id: <20080205114501.41D1C30E952@pilot> Below is the list of changes that have just been committed into a local 5.0 repository of msvensson. When msvensson 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-02-05 12:44:57+01:00, msvensson@stripped +1 -0 Bug#31239 Test "ndb_views" returns NDB error 4259 "Invalid set of range scan bounds" ndb/src/kernel/blocks/dbtux/DbtuxScan.cpp@stripped, 2008-02-05 12:44:55+01:00, msvensson@stripped +2 -1 Move the increment to next line to avoid icc optimization problem that caused the "b" reference to be incremented diff -Nrup a/ndb/src/kernel/blocks/dbtux/DbtuxScan.cpp b/ndb/src/kernel/blocks/dbtux/DbtuxScan.cpp --- a/ndb/src/kernel/blocks/dbtux/DbtuxScan.cpp 2007-01-22 13:10:37 +01:00 +++ b/ndb/src/kernel/blocks/dbtux/DbtuxScan.cpp 2008-02-05 12:44:55 +01:00 @@ -216,7 +216,8 @@ Dbtux::execTUX_BOUND_INFO(Signal* signal // fill in any gap while (maxAttrId[j] <= attrId) { jam(); - BoundInfo& b = boundInfo[j][maxAttrId[j]++]; + BoundInfo& b = boundInfo[j][maxAttrId[j]]; + maxAttrId[j]++; b.type2 = -1; } BoundInfo& b = boundInfo[j][attrId];