summaryrefslogtreecommitdiff
path: root/storage
diff options
context:
space:
mode:
authorunknown <tomas@poseidon.ndb.mysql.com>2005-10-07 17:08:59 +0200
committerunknown <tomas@poseidon.ndb.mysql.com>2005-10-07 17:08:59 +0200
commit393b16d83b4c62ed6258d48345ca4a8a0d4bb929 (patch)
tree68ebbf65e4a168f578a07612d5ad138d22ba9d1c /storage
parent6e18e4f3e65e3add2dfe999acb74340c09b92778 (diff)
downloadmariadb-git-393b16d83b4c62ed6258d48345ca4a8a0d4bb929.tar.gz
Bug #13610 Assert during sytem restart
- corrected previous bugfix
Diffstat (limited to 'storage')
-rw-r--r--storage/ndb/src/kernel/blocks/suma/Suma.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/ndb/src/kernel/blocks/suma/Suma.cpp b/storage/ndb/src/kernel/blocks/suma/Suma.cpp
index a85a859587c..0d07073d952 100644
--- a/storage/ndb/src/kernel/blocks/suma/Suma.cpp
+++ b/storage/ndb/src/kernel/blocks/suma/Suma.cpp
@@ -279,7 +279,7 @@ Suma::execSTTOR(Signal* signal) {
{
NdbNodeBitmask tmp;
Uint32 bucket = 0;
- while (m_active_buckets.find(bucket) != Bucket_mask::NotFound)
+ while ((bucket = m_active_buckets.find(bucket)) != Bucket_mask::NotFound)
{
tmp.set(get_responsible_node(bucket, c_nodes_in_nodegroup_mask));
bucket++;