mirror of
https://github.com/MariaDB/server.git
synced 2026-05-03 13:45:34 +02:00
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:
parent
1db46f898c
commit
4db374eb8a
1 changed files with 2 additions and 1 deletions
|
|
@ -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];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue