summaryrefslogtreecommitdiff
path: root/ndb
diff options
context:
space:
mode:
authorunknown <msvensson@pilot.mysql.com>2008-02-05 14:06:59 +0100
committerunknown <msvensson@pilot.mysql.com>2008-02-05 14:06:59 +0100
commitfb9c0158b2328d326acb9e9af9a2e85a72840afe (patch)
tree25ffcafc4f17d5324d3b67cb8f7bd95603f16792 /ndb
parent6357f5cc963d5067c254e03b59bc0fa8e429aa13 (diff)
parent4db374eb8aefce5e0accb5d997d34b07c32dcded (diff)
downloadmariadb-git-fb9c0158b2328d326acb9e9af9a2e85a72840afe.tar.gz
Merge pilot.mysql.com:/data/msvensson/mysql/bug31239/my50-bug31239
into pilot.mysql.com:/data/msvensson/mysql/mysql-5.0-build
Diffstat (limited to 'ndb')
-rw-r--r--ndb/src/kernel/blocks/dbtux/DbtuxScan.cpp3
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];