Commit 4db374eb authored by unknown's avatar unknown

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
parent 1db46f89
...@@ -216,7 +216,8 @@ Dbtux::execTUX_BOUND_INFO(Signal* signal) ...@@ -216,7 +216,8 @@ Dbtux::execTUX_BOUND_INFO(Signal* signal)
// fill in any gap // fill in any gap
while (maxAttrId[j] <= attrId) { while (maxAttrId[j] <= attrId) {
jam(); jam();
BoundInfo& b = boundInfo[j][maxAttrId[j]++]; BoundInfo& b = boundInfo[j][maxAttrId[j]];
maxAttrId[j]++;
b.type2 = -1; b.type2 = -1;
} }
BoundInfo& b = boundInfo[j][attrId]; BoundInfo& b = boundInfo[j][attrId];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment