Commit 97acef76 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent fa838dba
......@@ -35,12 +35,13 @@ import (
type Tree = btree.LOBTree
type Bucket = btree.LOBucket
type Node = btree.LONode
type Key = int64
type Value = zodb.Oid // XXX assumes key points to IPersistent
// XXX how to represent deletion? InvalidOid?
type Key = int64
type Value = zodb.Oid // assumes key points to IPersistent
// deletion is represented as InvalidOid
type SetKey = SetI64
// ΔBtail represents tail of revisional changes to BTrees.
//
// It semantically consists of
......
......@@ -244,6 +244,10 @@ func xverifyΔBTail1(t *testing.T, db *zodb.DB, treeRoot zodb.Oid, at1,at2 zodb.
// δbtail <- δZ
δB := δbtail.Update(δZ)
_ = δB
//assert δB.Rev == δZ.Tid
//assert len(δB.ByRoot) == 1
// XXX assert δB.keys == treeRoot
// δT = δB[treeRoot]
......
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