Commit 33c0c2e9 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent cb6b12ed
...@@ -675,8 +675,11 @@ ABcov: ...@@ -675,8 +675,11 @@ ABcov:
if nc := at.nchild; nc != 0 { if nc := at.nchild; nc != 0 {
δtrack.δnchildNonLeafs[acOid] = nc δtrack.δnchildNonLeafs[acOid] = nc
// XXX debugDiff δtrack [) ... // XXX debugDiff δtrack [) ...
} else { }
}
// adjust δtkeycov only if it was leaf bucket // adjust δtkeycov only if it was leaf bucket
if nc := at.nchild; nc == 0 {
ar := KeyRange{ac.lo, ac.hi_} ar := KeyRange{ac.lo, ac.hi_}
bc := Bv.Get(ac.lo) bc := Bv.Get(ac.lo)
br := KeyRange{bc.lo, bc.hi_} br := KeyRange{bc.lo, bc.hi_}
...@@ -685,7 +688,6 @@ ABcov: ...@@ -685,7 +688,6 @@ ABcov:
debugfDiff(" δtrack - %s %v KKK\n", ar, apath) debugfDiff(" δtrack - %s %v KKK\n", ar, apath)
debugfDiff(" δtrack + %s %v KKK\n", br, bpath) debugfDiff(" δtrack + %s %v KKK\n", br, bpath)
} }
}
continue continue
} }
......
...@@ -679,7 +679,7 @@ func xverifyΔBTail_Update(t *testing.T, subj string, db *zodb.DB, treeRoot zodb ...@@ -679,7 +679,7 @@ func xverifyΔBTail_Update(t *testing.T, subj string, db *zodb.DB, treeRoot zodb
// tracked state defined by initialTrackedKeys. // tracked state defined by initialTrackedKeys.
func xverifyΔBTail_Update1(t *testing.T, subj string, db *zodb.DB, treeRoot zodb.Oid, at1,at2 zodb.Tid, xkv1,xkv2 RBucketSet, δZ *zodb.EventCommit, d12 map[Key]Δstring, initialTrackedKeys SetKey, kadj KAdjMatrix) { func xverifyΔBTail_Update1(t *testing.T, subj string, db *zodb.DB, treeRoot zodb.Oid, at1,at2 zodb.Tid, xkv1,xkv2 RBucketSet, δZ *zodb.EventCommit, d12 map[Key]Δstring, initialTrackedKeys SetKey, kadj KAdjMatrix) {
X := exc.Raiseif X := exc.Raiseif
t.Logf("\n>>> Track=%s\n", initialTrackedKeys) // t.Logf("\n>>> Track=%s\n", initialTrackedKeys)
var TrackedδZ SetKey = nil var TrackedδZ SetKey = nil
var kadjTrackedδZ SetKey = nil var kadjTrackedδZ SetKey = nil
......
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