Commit dbb9508a authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 825ed8b6
...@@ -89,11 +89,11 @@ func _trackSetWithCov(rbs xbtreetest.RBucketSet, tracked setKey, outKeyCover *bl ...@@ -89,11 +89,11 @@ func _trackSetWithCov(rbs xbtreetest.RBucketSet, tracked setKey, outKeyCover *bl
if outKeyCover != nil { if outKeyCover != nil {
outKeyCover.AddRange(kb.Keycov) outKeyCover.AddRange(kb.Keycov)
} }
// trackSet explicitly records only regular buckets. // // trackSet explicitly records only regular buckets.
// embedded buckets all have oid=zodb.InvalidOid and would lead to z // // embedded buckets all have oid=zodb.InvalidOid and would lead to z
// newNode := false // newNode := false
if kb.Oid != zodb.InvalidOid {
trackSet.AddPath(kb.Path()) trackSet.AddPath(kb.Path())
// if kb.Oid != zodb.InvalidOid {
/* /*
track, already := trackSet[kb.Oid] track, already := trackSet[kb.Oid]
if !already { if !already {
...@@ -105,7 +105,7 @@ func _trackSetWithCov(rbs xbtreetest.RBucketSet, tracked setKey, outKeyCover *bl ...@@ -105,7 +105,7 @@ func _trackSetWithCov(rbs xbtreetest.RBucketSet, tracked setKey, outKeyCover *bl
panicf("BUG: %s: B%s -> multiple parents: %s %s", rbs.coverage(), kb.Oid, track.parent, kb.Parent.Oid) panicf("BUG: %s: B%s -> multiple parents: %s %s", rbs.coverage(), kb.Oid, track.parent, kb.Parent.Oid)
} }
*/ */
} // }
/* /*
p := kb.Parent p := kb.Parent
......
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