Bug#31239 Test "ndb_views" returns NDB error 4259 "Invalid set of range scan bounds"

ndb/src/kernel/blocks/dbtux/DbtuxScan.cpp:
  Move the increment to next line to avoid icc optimization problem that
  caused the "b" reference to be incremented
This commit is contained in:
unknown 2008-02-05 12:44:57 +01:00
commit 4db374eb8a

View file

@ -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];