Commit ef25b5d1 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 1b403119
...@@ -291,7 +291,7 @@ func (δBtail *ΔBtail) Track(ctx context.Context, key Key, keyPresent bool, pat ...@@ -291,7 +291,7 @@ func (δBtail *ΔBtail) Track(ctx context.Context, key Key, keyPresent bool, pat
if err != nil { if err != nil {
return err return err
} }
defer treeRoot.PActivate(ctx) defer treeRoot.PDeactivate()
// XXX assert len(treeRoot.Entryv()) == 1 // XXX assert len(treeRoot.Entryv()) == 1
// XXX assert [0] is Bucket && POid == zodb.InvalidOid // XXX assert [0] is Bucket && POid == zodb.InvalidOid
leafBucket = treeRoot.Entryv()[0].Child().(*Bucket) // because it is recreated leafBucket = treeRoot.Entryv()[0].Child().(*Bucket) // because it is recreated
......
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