Commit ee67e0b9 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 21f3692b
...@@ -957,8 +957,8 @@ func xverifyΔBTail_rebuild(t *testing.T, db *zodb.DB, treeRoot zodb.Oid, t0, t1 ...@@ -957,8 +957,8 @@ func xverifyΔBTail_rebuild(t *testing.T, db *zodb.DB, treeRoot zodb.Oid, t0, t1
xverifyΔBTail_rebuild_TR(t, db, δbtail_, t2, treeRoot, xat, xverifyΔBTail_rebuild_TR(t, db, δbtail_, t2, treeRoot, xat,
// after Track(keys2) // after Track(keys2)
keys2, keys2,
// FIXME vvv trackNew should not cover ranges that are already in trackSet
/*trackSet*/ t2.xkv.trackSet(keys1_0.Union(keys1_2)), /*trackSet*/ t2.xkv.trackSet(keys1_0.Union(keys1_2)),
// FIXME vvv trackNew should not cover ranges that are already in trackSet
/*trackNew*/ t2.xkv.trackSet(keys2), /*trackNew*/ t2.xkv.trackSet(keys2),
// after rebuild // after rebuild
...@@ -1807,6 +1807,14 @@ func sortedKeys(kv map[Key]Δstring) []Key { ...@@ -1807,6 +1807,14 @@ func sortedKeys(kv map[Key]Δstring) []Key {
return keyv return keyv
} }
func (b *RBucket) String() string {
// XXX dup wrt nodeInRange.String
slo := "-∞"; if b.lo > KeyMin { slo = fmt.Sprintf("%v", b.lo) }
shi := "∞"; if b.hi_ < KeyMax { shi = fmt.Sprintf("%v", b.hi_+1) }
return fmt.Sprintf("[%s,%s)B%s{%s}", slo, shi, b.oid, kvtxt(b.kv))
}
// String is like default %v, but uses ø for VDEL. // String is like default %v, but uses ø for VDEL.
func (δv ΔValue) String() string { func (δv ΔValue) String() string {
old, new := DEL, DEL old, new := DEL, DEL
......
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