diff options
author | unknown <msvensson@pilot.mysql.com> | 2008-02-05 12:44:57 +0100 |
---|---|---|
committer | unknown <msvensson@pilot.mysql.com> | 2008-02-05 12:44:57 +0100 |
commit | 4db374eb8aefce5e0accb5d997d34b07c32dcded (patch) | |
tree | 0360e6242704663c8fa57bbf452f3ffd0f48d7f8 /ndb | |
parent | 1db46f898c285972c9d00f5a7c792c7e5d3da8a7 (diff) | |
download | mariadb-git-4db374eb8aefce5e0accb5d997d34b07c32dcded.tar.gz |
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
Diffstat (limited to 'ndb')
-rw-r--r-- | ndb/src/kernel/blocks/dbtux/DbtuxScan.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ndb/src/kernel/blocks/dbtux/DbtuxScan.cpp b/ndb/src/kernel/blocks/dbtux/DbtuxScan.cpp index 7eae1486d43..6f42e936d90 100644 --- a/ndb/src/kernel/blocks/dbtux/DbtuxScan.cpp +++ b/ndb/src/kernel/blocks/dbtux/DbtuxScan.cpp @@ -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]; |